rain accumulation check command
This commit is contained in:
17
build.gradle
17
build.gradle
@@ -7,6 +7,10 @@ buildscript {
|
||||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "com.diffplug.spotless" version "6.11.0"
|
||||
}
|
||||
apply plugin: 'net.minecraftforge.gradle'
|
||||
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
||||
apply plugin: 'eclipse'
|
||||
@@ -156,9 +160,20 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
spotless {
|
||||
ratchetFrom 'origin/master'
|
||||
|
||||
java {
|
||||
importOrder()
|
||||
removeUnusedImports()
|
||||
palantirJavaFormat()
|
||||
}
|
||||
}
|
||||
|
||||
// Example configuration to allow publishing using the maven-publish task
|
||||
// This is the preferred method to reobfuscate your jar file
|
||||
jar.finalizedBy('reobfJar')
|
||||
jar.finalizedBy('reobfJar')
|
||||
assemble.finalizedBy('spotlessJavaApply')
|
||||
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing
|
||||
//publish.dependsOn('reobfJar')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user