added lys-catalog
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
plugins {
|
||||
id "org.jetbrains.kotlin.jvm"
|
||||
id "net.woggioni.gradle.envelope"
|
||||
alias catalog.plugins.kotlin
|
||||
alias catalog.plugins.envelope
|
||||
}
|
||||
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import net.woggioni.gradle.envelope.EnvelopeJarTask
|
||||
|
||||
dependencies {
|
||||
implementation group:"org.jetbrains.kotlin", name: "kotlin-stdlib-jdk8", version: getProperty("kotlin.version")
|
||||
implementation catalog.kotlin.stdlib.jdk8
|
||||
|
||||
implementation group: "org.apache.logging.log4j", name: "log4j-slf4j-impl", version: property("log4j.version")
|
||||
implementation group: "org.slf4j", name: "slf4j-api", version: property("slf4j.version")
|
||||
implementation group: "com.beust", name: "jcommander", version: property("jcommander.version")
|
||||
implementation catalog.log4j.slf4j18.impl
|
||||
implementation catalog.slf4j.api
|
||||
implementation catalog.jcommander
|
||||
implementation rootProject
|
||||
}
|
||||
|
||||
@@ -25,8 +25,8 @@ tasks.named('envelopeRun', JavaExec) {
|
||||
|
||||
tasks.withType(KotlinCompile.class).configureEach {
|
||||
kotlinOptions {
|
||||
languageVersion = "1.6"
|
||||
apiVersion = "1.6"
|
||||
languageVersion = "1.7"
|
||||
apiVersion = "1.7"
|
||||
jvmTarget = "11"
|
||||
javaParameters = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user