Update to Loom 0.10

This commit is contained in:
shedaniel
2021-12-09 01:40:05 +08:00
parent 0a64ecda1d
commit 5e338b40da
13 changed files with 133 additions and 83 deletions

View File

@@ -1,6 +1,6 @@
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "0.7.3-SNAPSHOT" apply false
id "dev.architectury.loom" version "0.10.0-SNAPSHOT" apply false
id "org.cadixdev.licenser" version "0.6.1"
id "com.matthewprenger.cursegradle" version "1.4.0" apply false
id "maven-publish"
@@ -15,7 +15,11 @@ subprojects {
loom {
silentMojangMappingsLicense()
useFabricMixin = true
}
dependencies {
minecraft "com.mojang:minecraft:${rootProject.architectury.minecraft}"
mappings loom.officialMojangMappings()
}
}
@@ -100,6 +104,10 @@ allprojects {
return changes.toString()
}
}
java {
withSourcesJar()
}
}
task licenseFormatAll