Minestom/code-generators/build.gradle.kts

25 lines
562 B
Plaintext
Raw Normal View History

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)
// Logging
implementation(libs.bundles.logging)
// Contains the json files
implementation(libs.minestomData)
}
tasks {
getByName<JavaExec>("run") {
args = listOf(project.rootProject.projectDir.resolve("src").resolve("autogenerated").resolve("java").absolutePath)
}
}