* Reduce duplicate code * Fix gradle task name * Revert name changes * Revert action name * Cleanup * Revert to java 17 * Fix generation * Cleanup * Simplify code of DGU * Remove unnecessary annotations * Remove unused var * Halt with error on error * Remove unused mixins * Update fabric loader * Ignore success result * Update gradle and use merged jar * Implement new client and server merged environment for running fabric * Set server run dir as asset dir * More cleanup * More cleanup 2 * More improvements * Remove more duplicate code * Use newer java methods * More cleanup * Remove SoundAccessors * More cleanup * Use java 21 for build * Initial work on 1.20.5 * Cleanup a lot of stuff * Do not generate mod jars to speed up builds * Override merger on now open classes directly * Use recommended approach * Readd custom merger * Working materials data generator * Fix inconsistencies * Fix collision order to be random * Use LinkedHashMap for more reproducibility * Fix imports
22 lines
473 B
Groovy
22 lines
473 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'com.google.code.gson:gson:2.10.1'
|
|
implementation 'io.github.classgraph:classgraph:4.8.172'
|
|
implementation "net.lenni0451:Reflect:1.3.3"
|
|
implementation 'org.slf4j:slf4j-api:2.0.13'
|
|
implementation "org.slf4j:jul-to-slf4j:2.0.13"
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
it.options.encoding = "UTF-8"
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|