rain accumulation check command

This commit is contained in:
2024-09-12 23:27:11 +03:00
parent aa4dd64700
commit 03c8a8f7fe
3 changed files with 49 additions and 16 deletions

View File

@@ -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')