Skip to content

Commit

Permalink
update java, mindustry and javel versions
Browse files Browse the repository at this point in the history
  • Loading branch information
xzxADIxzx committed Jan 3, 2024
1 parent 3fce664 commit 99e0995
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Set up PATH
run: |
echo "${ANDROID_HOME}/build-tools/30.0.1" >> $GITHUB_PATH
- name: Set up JDK 17
- name: Set up JDK 20
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 20
- name: Change permissions
run: chmod +x ./gradlew
- name: Build mod jar
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'java'
version '1.0'

targetCompatibility = 8
sourceCompatibility = JavaVersion.VERSION_16
sourceCompatibility = JavaVersion.VERSION_20

sourceSets.main {
java.srcDirs = ['src/java']
Expand All @@ -16,8 +16,8 @@ repositories {
}

ext {
mindustryVersion = 'v145'
jabelVersion = '0.4.2'
mindustryVersion = 'v146'
jabelVersion = '1.0.1'
sdkRoot = System.getenv('ANDROID_HOME') ?: System.getenv('ANDROID_SDK_ROOT')
}

Expand All @@ -31,8 +31,8 @@ dependencies {
compileOnly "com.github.Anuken.Arc:arc-core:$mindustryVersion"
compileOnly "com.github.Anuken.Mindustry:core:$mindustryVersion"

compileOnly "com.github.bsideup.jabel:jabel-javac-plugin:$jabelVersion"
annotationProcessor "com.github.bsideup.jabel:jabel-javac-plugin:$jabelVersion"
compileOnly "com.github.bsideup:jabel:$jabelVersion"
annotationProcessor "com.github.bsideup:jabel:$jabelVersion"
}

jar {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 99e0995

Please # to comment.