2022-01-01 18:27:52 +01:00
|
|
|
plugins {
|
|
|
|
application
|
|
|
|
id("minestom.common-conventions")
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass.set("net.minestom.codegen.Generators")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.gson)
|
|
|
|
implementation(libs.jetbrainsAnnotations)
|
|
|
|
implementation(libs.javaPoet)
|
|
|
|
// Contains the json files
|
|
|
|
implementation(libs.minestomData)
|
2023-01-01 05:24:36 +01:00
|
|
|
|
|
|
|
implementation("org.slf4j:slf4j-api:2.0.6")
|
2022-01-01 18:27:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
getByName<JavaExec>("run") {
|
|
|
|
args = listOf(project.rootProject.projectDir.resolve("src").resolve("autogenerated").resolve("java").absolutePath)
|
|
|
|
}
|
|
|
|
}
|