Architectury Loom 1.2

This commit is contained in:
Ryan Fox 2023-06-30 00:23:04 -07:00
parent 655f735bc1
commit 684bc05ef9
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 6 additions and 5 deletions

View File

@ -6,7 +6,7 @@ buildscript {
plugins {
id "architectury-plugin" version "3.4-SNAPSHOT"
id "dev.architectury.loom" version "0.12.0-SNAPSHOT" apply false
id "dev.architectury.loom" version "1.2-SNAPSHOT" apply false
id 'com.matthewprenger.cursegradle' version '1.4.0'
}
@ -35,6 +35,7 @@ subprojects {
officialMojangMappings()
parchment("org.parchmentmc.data:parchment-${rootProject.parchment_version}@zip")
}
implementation 'com.google.code.findbugs:jsr305:3.0.2'
}
}

View File

@ -99,24 +99,24 @@ processResources {
shadowJar {
configurations = [project.configurations.shadowCommon]
classifier "dev-shadow"
archiveClassifier.set "dev-shadow"
}
remapJar {
input.set shadowJar.archiveFile
dependsOn shadowJar
classifier "fabric"
archiveClassifier.set "fabric"
}
jar {
classifier "dev"
archiveClassifier.set "dev"
}
sourcesJar {
def commonSources = project(":common").sourcesJar
dependsOn commonSources
from commonSources.archiveFile.map { zipTree(it) }
classifier "fabric-sources"
archiveClassifier.set "fabric-sources"
}
components.java {