mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
43 lines
898 B
Groovy
43 lines
898 B
Groovy
plugins {
|
|
id 'multiloader-loader'
|
|
id 'idea'
|
|
id 'eclipse'
|
|
|
|
id 'net.neoforged.gradle.userdev'
|
|
|
|
id 'multiloader-publish'
|
|
}
|
|
|
|
// Automatically enable neoforge AccessTransformers if the file exists
|
|
def at = project(':common').file('src/main/resources/META-INF/accesstransformer.cfg')
|
|
if (at.exists()) {
|
|
minecraft.accessTransformers.file(at)
|
|
}
|
|
|
|
subsystems {
|
|
parchment {
|
|
minecraftVersion = parchment_minecraft
|
|
mappingsVersion = parchment_version
|
|
}
|
|
}
|
|
|
|
runs {
|
|
configureEach {
|
|
modSource project.sourceSets.main
|
|
systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id
|
|
}
|
|
|
|
client {
|
|
workingDirectory = file('../run/client')
|
|
}
|
|
|
|
server {
|
|
programArgument '--nogui'
|
|
workingDirectory = file('../run/server')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "net.neoforged:neoforge:${neoforge_version}"
|
|
}
|