Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a856254339 | |||
| 0cb4867db0 | |||
| e0a2f0edfa |
@@ -7,6 +7,8 @@ plugins {
|
||||
|
||||
// The kotlin-dsl plugin requires a repository to be declared
|
||||
repositories {
|
||||
maven { url = uri("https://nexus.lan.ubrr.ru/repository/gradle-central") }
|
||||
maven { url = uri("https://nexus.lan.ubrr.ru/repository/maven-jcenter") }
|
||||
jcenter()
|
||||
google()
|
||||
gradlePluginPortal()
|
||||
@@ -26,6 +28,16 @@ dependencies {
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
}
|
||||
|
||||
//val compileJava: JavaCompile by tasks
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
//compileJava.apply {
|
||||
// sourceCompatibility = JavaVersion.VERSION_17.toString()
|
||||
// targetCompatibility = JavaVersion.VERSION_17.toString()
|
||||
//}
|
||||
|
||||
val compileKotlin: KotlinCompile by tasks
|
||||
compileKotlin.kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
|
||||
Reference in New Issue
Block a user