usefulskyblock/achievement-crafter/build.gradle
Nick Guy 4032a0c6ff Add advancements, class generator, and recipe handling.
- Removed deprecated `Remarkable` annotation/processor.
- Added advancements for Nether and Skyblock progression.
- Introduced `ClassBuilder` for dynamic class generation.
- Implemented `SmeltingCraftingHandler` for custom recipes.
- Updated dependencies for Paper API integration.
2025-08-09 21:22:06 +01:00

31 lines
No EOL
641 B
Groovy

plugins {
id 'java'
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.code.gson:gson:2.11.0'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
application {
mainClass = 'com.ncguy.achievements.Crafter'
}
// Swing is part of the JDK; no extra dependencies required.
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.release.set(21)
}
run.jvmArgs += ["--add-opens", "java.base/java.io=ALL-UNNAMED", "--add-opens", "java.base/sun.nio.cs=ALL-UNNAMED", "--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED"]