mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-14 22:03:40 +01:00
Clean up build.gradle
This commit is contained in:
parent
cbb7e48565
commit
2db49997df
1 changed files with 6 additions and 8 deletions
14
build.gradle
14
build.gradle
|
@ -33,13 +33,12 @@ sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = co
|
|||
minecraft {
|
||||
mappings channel: 'snapshot', version: '20200920-mixed-1.16.3'
|
||||
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
|
||||
runs {
|
||||
|
||||
runs {
|
||||
client {
|
||||
workingDirectory project.file('run')
|
||||
// property 'mixin.env.disableRefMap', 'true'
|
||||
arg '-mixin.config=create.mixins.json'
|
||||
jvmArgs '-XX:+UnlockCommercialFeatures'
|
||||
//jvmArgs '-XX:+UnlockCommercialFeatures' // uncomment for profiling
|
||||
property 'forge.logging.console.level', 'info'
|
||||
property 'fml.earlyprogresswindow', 'false'
|
||||
mods {
|
||||
|
@ -51,7 +50,6 @@ minecraft {
|
|||
|
||||
server {
|
||||
workingDirectory project.file('run/server')
|
||||
// property 'mixin.env.disableRefMap', 'true'
|
||||
arg '-mixin.config=create.mixins.json'
|
||||
property 'forge.logging.console.level', 'info'
|
||||
mods {
|
||||
|
@ -117,7 +115,7 @@ configurations {
|
|||
|
||||
dependencies {
|
||||
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
||||
|
||||
|
||||
def registrate = "com.tterrag.registrate:Registrate:MC1.16.2-${registrate_version}"
|
||||
implementation fg.deobf(registrate)
|
||||
shade registrate
|
||||
|
@ -199,7 +197,7 @@ String getChangelogText() {
|
|||
//new File("changelog.html").write getChangelogText()
|
||||
|
||||
tasks.curseforge.enabled = !dev && project.hasProperty('simi_curseforge_key')
|
||||
|
||||
|
||||
curseforge {
|
||||
if (project.hasProperty('simi_curseforge_key')) {
|
||||
apiKey = project.simi_curseforge_key
|
||||
|
@ -223,4 +221,4 @@ apply plugin: 'org.spongepowered.mixin'
|
|||
|
||||
mixin {
|
||||
add sourceSets.main, "create.refmap.json"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue