]> git.lizzy.rs Git - LightOverlay.git/commitdiff
Fix build
authorshedaniel <daniel@shedaniel.me>
Tue, 1 Mar 2022 05:54:49 +0000 (13:54 +0800)
committershedaniel <daniel@shedaniel.me>
Tue, 1 Mar 2022 05:54:49 +0000 (13:54 +0800)
build.gradle
common/build.gradle
fabric/build.gradle

index 20d4c3b574d2302a434778271183c563a172e6c5..5c3ac7ad1239aa361d2f891881956f6c48171a97 100644 (file)
@@ -29,6 +29,6 @@ allprojects {
 
     tasks.withType(JavaCompile) {
         options.encoding = "UTF-8"
-        options.release = 16
+        options.release = 17
     }
 }
index 9a0b77118fecf9ea0a40bb29db067c4e8a97ab7d..49240f64a269a4e51de8fe6577d1e9ad28fa4e08 100644 (file)
@@ -12,10 +12,6 @@ architectury {
     common(false)
 }
 
-configurations {
-    dev
-}
-
-artifacts {
-    dev(jar)
-}
+transformProductionFabric {
+    dependsOn(prepareRemapJar)
+}
\ No newline at end of file
index 328ef3a3f66294ae297c8ca848fb8f0e91039283..269f983aa114b95b76026aac57cedcdeb2aca07d 100755 (executable)
@@ -53,6 +53,10 @@ shadowJar {
     classifier "dev-shadow"
 }
 
+prepareRemapJar {
+    dependsOn(shadowJar)
+}
+
 remapJar {
     dependsOn(shadowJar)
     input.set(shadowJar.archivePath)