diff options
author | Luck <git@lucko.me> | 2021-06-13 12:11:16 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-06-13 12:11:16 +0100 |
commit | 04b181fe86cd4942809420643e74dde81cfcdf10 (patch) | |
tree | 50cf0b63087e9a24bd827cf674ab74efc6a6353a /spark-fabric | |
parent | 6771fd491b2d971c6e97429139cb9d6558a59ccc (diff) | |
download | spark-04b181fe86cd4942809420643e74dde81cfcdf10.tar.gz spark-04b181fe86cd4942809420643e74dde81cfcdf10.tar.bz2 spark-04b181fe86cd4942809420643e74dde81cfcdf10.zip |
Gradle 7, update fabric to 1.17
Diffstat (limited to 'spark-fabric')
-rw-r--r-- | spark-fabric/build.gradle | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/spark-fabric/build.gradle b/spark-fabric/build.gradle index 9fda9a8..9523978 100644 --- a/spark-fabric/build.gradle +++ b/spark-fabric/build.gradle @@ -1,8 +1,14 @@ import net.fabricmc.loom.task.RemapJarTask plugins { - id 'fabric-loom' version '0.5-SNAPSHOT' - id 'com.github.johnrengelman.shadow' version '4.0.1' + id 'fabric-loom' version '0.8-SNAPSHOT' + id 'com.github.johnrengelman.shadow' version '7.0.0' +} + +compileJava { + // override, compile targeting J11 + options.compilerArgs.clear() + options.compilerArgs.addAll(['--release', '11']) } repositories { @@ -12,14 +18,14 @@ repositories { configurations { shade - compile.extendsFrom shade + implementation.extendsFrom shade } dependencies { // https://modmuss50.me/fabric.html - minecraft 'com.mojang:minecraft:1.16.4' - mappings 'net.fabricmc:yarn:1.16.4+build.6:v2' - modImplementation 'net.fabricmc:fabric-loader:0.10.6+build.214' + minecraft 'com.mojang:minecraft:1.17' + mappings 'net.fabricmc:yarn:1.17+build.10:v2' + modImplementation 'net.fabricmc:fabric-loader:0.11.3' Set<String> apiModules = [ "fabric-api-base", @@ -29,7 +35,7 @@ dependencies { // Add each module as a dependency apiModules.forEach { - modImplementation(fabricApi.module(it, '0.25.1+build.416-1.16')) + modImplementation(fabricApi.module(it, '0.35.1+1.17')) } include(modImplementation('me.lucko:fabric-permissions-api:0.1-SNAPSHOT')) |