Skip to content

Commit

Permalink
Improved net.sf.robocode.java-conventions.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
flemming-n-larsen committed Sep 29, 2024
1 parent d45b897 commit b00108d
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
group = "net.sf.robocode"
version = "1.9.5.3"

plugins {
java
signing
Expand All @@ -14,14 +17,17 @@ repositories {
}
}

group = "net.sf.robocode"
version = "1.9.5.3"
java.sourceCompatibility = JavaVersion.VERSION_1_8

tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}

tasks {
withType<JavaCompile>() {
options.encoding = "UTF-8"
}
}

publishing {
publications {
Expand Down

0 comments on commit b00108d

Please sign in to comment.