You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.1 KiB

import cash.z.ecc.android.Deps
plugins {
id 'maven-publish'
id 'com.jfrog.bintray'
id "org.jetbrains.kotlin.jvm"
id 'org.jetbrains.dokka' version '0.10.1'
id 'java-library'
}
apply from: "publish.gradle"
tasks {
compileKotlin {
kotlinOptions { jvmTarget = 1.8 }
sourceCompatibility = 1.8
}
compileTestKotlin {
kotlinOptions { jvmTarget = 1.8 }
sourceCompatibility = 1.8
}
// Generate Kotlin/Java documentation from sources.
dokka {
outputFormat = "html"
}
}
dependencies {
implementation Deps.Kotlin.STDLIB
// Tests
testImplementation Deps.Kotest.RUNNER
testImplementation Deps.Kotest.ASSERTIONS
testImplementation Deps.Kotest.PROPERTY
testImplementation Deps.Square.MOSHI
testImplementation Deps.Square.MOSHI_KOTLIN
}
test {
useJUnitPlatform()
testLogging {
showExceptions = true
showStackTraces = true
exceptionFormat = "full"
events = ["failed", "skipped"]
showStandardStreams = true
}
}
sourceCompatibility = "8"
targetCompatibility = "8"