mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
44 lines
997 B
Groovy
44 lines
997 B
Groovy
plugins {
|
|
id 'multiloader-common'
|
|
|
|
id 'fabric-loom'
|
|
}
|
|
|
|
dependencies {
|
|
minecraft "com.mojang:minecraft:${minecraft_version}"
|
|
mappings loom.layered {
|
|
officialMojangMappings()
|
|
parchment("org.parchmentmc.data:parchment-${parchment_minecraft}:${parchment_version}@zip")
|
|
}
|
|
compileOnly group: 'org.spongepowered', name: 'mixin', version: '0.8.5'
|
|
|
|
implementation("org.mineskin:java-client:${mineskin_client_version}")
|
|
}
|
|
|
|
loom {
|
|
def aw = project.file("src/main/resources/${mod_id}.accesswidener")
|
|
if (aw.exists()) {
|
|
accessWidenerPath.set(aw)
|
|
}
|
|
|
|
mixin {
|
|
useLegacyMixinAp = false
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
commonJava {
|
|
canBeResolved = false
|
|
canBeConsumed = true
|
|
}
|
|
commonResources {
|
|
canBeResolved = false
|
|
canBeConsumed = true
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
commonJava sourceSets.main.java.sourceDirectories.singleFile
|
|
commonResources sourceSets.main.resources.sourceDirectories.singleFile
|
|
}
|