Skip to content

Commit

Permalink
Update project.common-conventions.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
xism4 authored Aug 15, 2024
1 parent 1ae9fc5 commit 6805dee
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions buildSrc/src/main/kotlin/project.common-conventions.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
plugins {
`java-library`
`kotlin-dsl`
}

repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
}

tasks {
java {
toolchain {
languageVersion.set(
JavaLanguageVersion.of("${findProperty("java")}")
)
}
compileKotlin {
kotlinOptions.jvmTarget = "17"
}

compileJava {
options.compilerArgs.add("-parameters")
}
}
}

0 comments on commit 6805dee

Please sign in to comment.