Use forgified loom

This commit is contained in:
shedaniel
2020-12-08 15:32:15 +08:00
parent 6a130e0341
commit 01ba8fddb5
4 changed files with 71 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ plugins {
}
group "me.shedaniel"
version = "1.1." + (System.getenv("GITHUB_RUN_NUMBER") == null ? (((short) new Random().nextInt()).abs() + 1000).toString() : System.getenv("GITHUB_RUN_NUMBER"))
version = "1.2." + (System.getenv("GITHUB_RUN_NUMBER") == null ? (((short) new Random().nextInt()).abs() + 1000).toString() : System.getenv("GITHUB_RUN_NUMBER"))
logger.lifecycle(":building architect plugin v${version}")
@@ -18,6 +18,8 @@ sourceCompatibility = targetCompatibility = 1.8
repositories {
jcenter()
maven { url "https://maven.fabricmc.net/" }
maven { url "https://files.minecraftforge.net/maven/" }
maven { url "https://dl.bintray.com/shedaniel/cloth/" }
}
apply plugin: 'java-gradle-plugin'
@@ -26,8 +28,8 @@ dependencies {
implementation gradleApi()
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72"
implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.72"
implementation "net.fabricmc:fabric-loom:0.5.42"
runtime "net.fabricmc:fabric-loom:0.5.42"
implementation "me.shedaniel:forgified-fabric-loom:0.5.2"
runtime "me.shedaniel:forgified-fabric-loom:0.5.2"
implementation "net.fabricmc:tiny-remapper:0.3.0.70"
implementation "net.fabricmc:tiny-mappings-parser:0.2.2.14"
implementation "org.ow2.asm:asm:8.0"