controls-kt/magix/magix-java-endpoint/build.gradle.kts

35 lines
882 B
Plaintext
Raw Normal View History

2022-08-02 10:12:16 +03:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import space.kscience.gradle.KScienceVersions
2023-08-23 16:21:11 +03:00
import space.kscience.gradle.Maturity
2022-08-02 10:12:16 +03:00
2021-02-09 16:39:39 +03:00
plugins {
java
2022-08-02 09:46:31 +03:00
id("space.kscience.gradle.jvm")
2021-04-05 17:41:36 +03:00
`maven-publish`
2021-02-09 16:39:39 +03:00
}
2023-08-23 16:21:11 +03:00
description = """
Java API to work with magix endpoints without Kotlin
""".trimIndent()
2021-02-09 16:39:39 +03:00
dependencies {
2021-06-21 14:09:59 +03:00
implementation(project(":magix:magix-rsocket"))
2022-08-02 10:12:16 +03:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk9:${KScienceVersions.coroutinesVersion}")
2021-02-09 16:39:39 +03:00
}
2022-05-23 23:30:38 +03:00
2023-02-18 20:05:26 +03:00
//java {
// sourceCompatibility = KScienceVersions.JVM_TARGET
// targetCompatibility = KScienceVersions.JVM_TARGET
//}
2022-08-02 10:12:16 +03:00
//FIXME https://youtrack.jetbrains.com/issue/KT-52815/Compiler-option-Xjdk-release-fails-to-compile-mixed-projects
tasks.withType<KotlinCompile>{
kotlinOptions {
freeCompilerArgs -= "-Xjdk-release=11"
}
2023-08-23 16:21:11 +03:00
}
readme{
maturity = Maturity.EXPERIMENTAL
2022-08-10 19:20:06 +03:00
}