Skip to content

Commit

Permalink
⬆️ 1.20.6 [works client side now too]
Browse files Browse the repository at this point in the history
  • Loading branch information
asoji committed May 7, 2024
1 parent 7066f45 commit 0c11df3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
java-version: 21

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'fabric-loom' version '0.12-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21

archivesBaseName = project.archives_base_name
version = project.mod_version
Expand Down Expand Up @@ -35,7 +35,7 @@ processResources {

tasks.withType(JavaCompile).configureEach {
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
it.options.release = 17
it.options.release = 21
}

java {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.1
loader_version=0.15.5
minecraft_version=1.20.6
loader_version=0.15.10

# Mod Properties
mod_version = 1.0.2
mod_version = 1.1.0
maven_group = one.devos.nautical
archives_base_name = rainbethunder
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.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"depends": {
"fabricloader": "*",
"minecraft": "*",
"java": ">=17"
"java": "*"
}
}
5 changes: 2 additions & 3 deletions src/main/resources/rainbethunder.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"required": true,
"minVersion": "0.8",
"package": "one.devos.nautical.rainbethunder.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [],
"server": [
"compatibilityLevel": "JAVA_21",
"mixins": [
"RainRemover"
],
"injectors": {
Expand Down

0 comments on commit 0c11df3

Please sign in to comment.