]> git.lizzy.rs Git - LightOverlay.git/commitdiff
21w41a
authorshedaniel <daniel@shedaniel.me>
Sat, 16 Oct 2021 09:56:18 +0000 (17:56 +0800)
committershedaniel <daniel@shedaniel.me>
Sat, 16 Oct 2021 09:56:18 +0000 (17:56 +0800)
Signed-off-by: shedaniel <daniel@shedaniel.me>
build.gradle
common/build.gradle
fabric/build.gradle
fabric/src/main/java/me/shedaniel/lightoverlay/fabric/LOModMenuEntry.java
gradle.properties
settings.gradle

index 2ab6ad7700b3acad241435ce890c891241c30b56..173399828d80ca37b449310c521389ee879c0add 100644 (file)
@@ -1,6 +1,6 @@
 plugins {
-    id "architectury-plugin" version "3.3-SNAPSHOT"
-    id "dev.architectury.loom" version "0.7.4-SNAPSHOT" apply false
+    id "architectury-plugin" version "3.4-SNAPSHOT"
+    id "dev.architectury.loom" version "0.10.0-SNAPSHOT" apply false
 }
 
 architectury {
index f0b4f2a3e93af0fcfc6b8eba424748c7c6324f49..9ff509ea9590c040762a32f63e40ca434619bf29 100644 (file)
@@ -9,5 +9,13 @@ dependencies {
 }
 
 architectury {
-    common()
-}
\ No newline at end of file
+    common(false)
+}
+
+configurations {
+    dev
+}
+
+artifacts {
+    dev(jar)
+}
index 72e531bca9e479a023b81e8dd9ffbdc7b9681f57..390e370f39c67d21e90472a17162c13f8123ec20 100755 (executable)
@@ -11,6 +11,14 @@ architectury {
     fabric()
 }
 
+configurations {
+    common
+    shadowCommon // Don't use shadow from the shadow plugin because we don't want IDEA to index this.
+    compileClasspath.extendsFrom common
+    runtimeClasspath.extendsFrom common
+    developmentFabric.extendsFrom common
+}
+
 processResources {
     filesMatching("fabric.mod.json") {
         expand "version": project.version
@@ -18,10 +26,6 @@ processResources {
     inputs.property "version", project.version
 }
 
-configurations {
-    shadowCommon
-}
-
 dependencies {
     minecraft "com.mojang:minecraft:${rootProject.architectury.minecraft}"
     mappings minecraft.officialMojangMappings()
@@ -36,10 +40,7 @@ dependencies {
     }
     modImplementation("dev.architectury:architectury-fabric:${rootProject.architectury_version}")
 
-    implementation(project(path: ":common")) {
-        transitive = false
-    }
-    developmentFabric(project(path: ":common")) {
+    common(project(path: ":common", configuration: "dev")) {
         transitive = false
     }
     shadowCommon(project(path: ":common", configuration: "transformProductionFabric")) {
@@ -49,11 +50,15 @@ dependencies {
 
 shadowJar {
     configurations = [project.configurations.shadowCommon]
-    classifier "shadow"
+    classifier "dev-shadow"
 }
 
 remapJar {
     dependsOn(shadowJar)
     input.set(shadowJar.archivePath)
-    archiveClassifier = "fabric"
-}
\ No newline at end of file
+    classifier null
+}
+
+jar {
+    classifier "dev"
+}
index 2a40df1ea4efd9ac9fd235eb727163f703187390..34b1f4d57e10a7db6b4d4355a60ee640cfade081 100644 (file)
@@ -1,7 +1,7 @@
 package me.shedaniel.lightoverlay.fabric;
 
-import io.github.prospector.modmenu.api.ConfigScreenFactory;
-import io.github.prospector.modmenu.api.ModMenuApi;
+import com.terraformersmc.modmenu.api.ConfigScreenFactory;
+import com.terraformersmc.modmenu.api.ModMenuApi;
 import me.shedaniel.lightoverlay.common.ClothScreen;
 
 public class LOModMenuEntry implements ModMenuApi {
index 7f75f4ac5ffa8c1e38bbb64ba0149bb6f74533d3..639bcdf9de6deb4313ceca8af54b9a7a6cbf15a1 100755 (executable)
@@ -1,16 +1,16 @@
 org.gradle.jvmargs=-Xmx3G
 org.gradle.daemon=false
 
-mod_version=6.0.1
-minecraft_version=1.17.1
+mod_version=6.0.2
+minecraft_version=21w41a
 
-architectury_version=2.3.24
+architectury_version=3.0.33
 
 # fabric
-fabric_loader_version=0.11.6
-fabric_api_version=0.37.2+1.17
-cloth_config_version=5.0.38
-modmenu_version=2.0.2
+fabric_loader_version=0.11.7
+fabric_api_version=0.40.9+1.18
+cloth_config_version=6.0.39
+modmenu_version=3.0.0
 
 # forge
 forge_version=37.0.13
\ No newline at end of file
index a232ac9e2b4c4f3bec988c1203a274ef8113264f..323a92b2c0469908ea2a4ed3fc34881b527abe6a 100644 (file)
@@ -11,5 +11,5 @@ rootProject.name = "light-overlay"
 
 include("common")
 include("fabric")
-include("forge")
+//include("forge")