Skip to content

Commit

Permalink
Updated to 1.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexeption committed Jul 22, 2021
1 parent 91105a8 commit a169c08
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 16 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 16
uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: 'adopt'
java-version: 16
- name: Setup
run: chmod +x gradlew && ./gradlew setup
- name: Build with Gradle
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
### :warning: WARNING :warning:: You **CANNOT** publish any code generated by this tool.

### Supported versions:
1.13->1.16.5

### Now using Mojo Mappings
Swap to the 1.16-MOJO branch to view official mappings
1.13->1.17.1

### How to use

Expand Down
20 changes: 13 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:4.1.+'
classpath 'net.minecraftforge.gradle:ForgeGradle:5+'
}
}

Expand All @@ -14,6 +14,12 @@ import net.minecraftforge.forge.tasks.*
apply plugin: 'eclipse'
apply plugin: 'net.minecraftforge.gradle.patcher'

println(' Java: ' + System.getProperty('java.version') +
' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ')' +
' Arch: ' + System.getProperty('os.arch'))

java.toolchain.languageVersion = JavaLanguageVersion.of(16)

configurations {
shade
compile.extendsFrom shade
Expand All @@ -23,19 +29,19 @@ group = 'me.yourname'
version = '1.0.0'

ext {
minecraft_version = '1.16.5'
mcp_version = '20210115.111550'
minecraft_version = '1.17.1'
mcp_version = '20210706.113038'
mappings_channel = 'official'
mappings_version = '1.16.5'
spi_version = '3.2.0'
mappings_version = '1.17.1'
spi_version = '4.0.9'
}

repositories {
mavenCentral()
}

dependencies {
shade 'net.minecraftforge:forgespi:' + spi_version
implementation 'net.minecraftforge:forgespi:' + spi_version
// Use the shade to add the lib to the jar
// or use compile if you want to load the lib from the version.json
// from a maven repo
Expand Down Expand Up @@ -78,7 +84,7 @@ task runclient(type: JavaExec) {
args '--gameDir', '.'
args '--version', minecraft_version
args '--assetsDir', downloadAssets.output
args '--assetIndex', "1.16"
args '--assetIndex', "1.17"
args '--accessToken', '0'
main 'net.minecraft.client.main.Main'
workingDir 'run'
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
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-6.8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ case "`uname`" in
Darwin* )
darwin=true
;;
MINGW* )
MSYS* | MINGW* )
msys=true
;;
NONSTOP* )
Expand Down

0 comments on commit a169c08

Please sign in to comment.