mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
59 lines
1.3 KiB
Groovy
59 lines
1.3 KiB
Groovy
plugins {
|
|
id 'multiloader-loader'
|
|
id 'idea'
|
|
id 'eclipse'
|
|
|
|
id 'net.neoforged.moddev'
|
|
|
|
id 'multiloader-publish'
|
|
}
|
|
|
|
neoForge {
|
|
version = neoforge_version
|
|
|
|
// Automatically enable neoforge AccessTransformers if the file exists
|
|
def at = project(":common").file('src/main/resources/META-INF/accesstransformer.cfg')
|
|
if (at.exists()) {
|
|
accessTransformers.from(at.absolutePath)
|
|
}
|
|
|
|
// parchment {
|
|
// minecraftVersion = parchment_minecraft
|
|
// mappingsVersion = parchment_version
|
|
// }
|
|
|
|
runs {
|
|
configureEach {
|
|
ideName = "NeoForge ${it.name.capitalize()} (${project.path})" // Unify the run config names with fabric
|
|
}
|
|
|
|
client {
|
|
client()
|
|
gameDirectory = rootProject.file('run/client')
|
|
}
|
|
|
|
server {
|
|
server()
|
|
programArgument '--nogui'
|
|
gameDirectory = rootProject.file('run/server')
|
|
}
|
|
}
|
|
|
|
mods {
|
|
"${mod_id}" {
|
|
sourceSet sourceSets.main
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "net.neoforged:neoforge:${neoforge_version}"
|
|
|
|
jarJar(implementation('org.mineskin:java-client')) {
|
|
version {
|
|
strictly "[${mineskin_client_version},)"
|
|
prefer mineskin_client_version
|
|
}
|
|
}
|
|
}
|