publishing multi-release-jar
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.jvm") version "1.3.70"
|
||||
id("org.jetbrains.kotlin.jvm") version "1.4.10"
|
||||
application
|
||||
}
|
||||
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
|
||||
group = "net.woggioni"
|
||||
version = "0.1"
|
||||
|
||||
fun property(name : String) = project.property(name).toString()
|
||||
|
||||
dependencies {
|
||||
@@ -34,16 +30,19 @@ application {
|
||||
|
||||
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform {
|
||||
}
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
languageVersion = "1.3"
|
||||
apiVersion = "1.3"
|
||||
languageVersion = "1.4"
|
||||
apiVersion = "1.4"
|
||||
jvmTarget = "1.8"
|
||||
javaParameters = true // Useful for reflection.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user