mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-05 02:10:24 +01:00
25 lines
562 B
Plaintext
25 lines
562 B
Plaintext
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)
|
|
}
|
|
}
|