aboutsummaryrefslogtreecommitdiff
path: root/spark-fabric
diff options
context:
space:
mode:
Diffstat (limited to 'spark-fabric')
-rw-r--r--spark-fabric/build.gradle23
1 files changed, 14 insertions, 9 deletions
diff --git a/spark-fabric/build.gradle b/spark-fabric/build.gradle
index e848046..f2ad598 100644
--- a/spark-fabric/build.gradle
+++ b/spark-fabric/build.gradle
@@ -1,18 +1,23 @@
import net.fabricmc.loom.task.RemapJarTask
plugins {
- id 'fabric-loom' version '0.9.+'
+ id 'fabric-loom' version '0.10.+'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
tasks.withType(JavaCompile) {
- // override, compile targeting J16
- options.release = 16
+ // override, compile targeting J17
+ options.release = 17
}
repositories {
maven { url 'https://maven.fabricmc.net/' }
- maven { url "https://maven.nucleoid.xyz/" }
+ maven {
+ url 'https://maven.nucleoid.xyz/'
+ content {
+ includeGroup('eu.pb4')
+ }
+ }
mavenLocal()
}
@@ -23,9 +28,9 @@ configurations {
dependencies {
// https://modmuss50.me/fabric.html
- minecraft 'com.mojang:minecraft:1.17.1'
- mappings 'net.fabricmc:yarn:1.17.1+build.39:v2'
- modImplementation 'net.fabricmc:fabric-loader:0.11.6'
+ minecraft 'com.mojang:minecraft:1.18'
+ mappings 'net.fabricmc:yarn:1.18+build.1:v2'
+ modImplementation 'net.fabricmc:fabric-loader:0.12.6'
Set<String> apiModules = [
"fabric-api-base",
@@ -35,12 +40,12 @@ dependencies {
// Add each module as a dependency
apiModules.forEach {
- modImplementation(fabricApi.module(it, '0.38.0+1.17'))
+ modImplementation(fabricApi.module(it, '0.43.1+1.18'))
}
include(modImplementation('me.lucko:fabric-permissions-api:0.1-SNAPSHOT'))
- modImplementation("eu.pb4:placeholder-api:1.1.1+1.17.1")
+ modImplementation('eu.pb4:placeholder-api:1.1.1+1.17.1')
shade project(':spark-common')
}