Skip to content

Commit

Permalink
java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
MinRi2 committed Feb 15, 2024
1 parent 1b093ff commit 4147136
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ group = 'com.github.MinRi2'
sourceSets.main.java.srcDirs = ["src"]

java{
targetCompatibility = 16
targetCompatibility = 8
sourceCompatibility = 16
}

ext{
//the build number that this mod is made for
mindustryVersion = 'v146'
minModCoreVersion = "e5020ddbf4"
minModCoreVersion = "6c8bac46e8"
jabelVersion = "93fde537c7"

//windows sucks
Expand All @@ -24,6 +24,7 @@ ext{

allprojects{
tasks.withType(JavaCompile){
options.compilerArgs.addAll(['--release', '8'])
options.encoding('UTF-8')
}
}
Expand All @@ -37,7 +38,7 @@ repositories{

dependencies{
annotationProcessor project(':annotation')
// annotationProcessor "com.github.Anuken:jabel:$jabelVersion"
annotationProcessor "com.github.Anuken:jabel:$jabelVersion"

compileOnly project(":annotation")
compileOnly "com.github.Anuken.Arc:arc-core:$mindustryVersion"
Expand Down

0 comments on commit 4147136

Please sign in to comment.