Compare commits

...

3 Commits

Author SHA1 Message Date
baheroff a856254339 return nexus links to build gradle repositories 2024-10-01 18:07:18 +03:00
baheroff 0cb4867db0 configure java compile task with java 17 2024-10-01 18:00:33 +03:00
baheroff e0a2f0edfa add nexus repository links for BuildScripts 2024-10-01 17:19:58 +03:00
+12
View File
@@ -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"