mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-20 01:25:27 +01:00
b9ce7e4806
* in order to make an omelet, you have to break a few eggs. aka absolutely decimate the gradle project
* far more sane gradle, no publishing yet tho
* attempt maven deploy
* fix publish url and use snapshot repo
* fix secret names
* release, and properly set version
* attempt to set group correctly
* more gradle fixups
(cherry picked from commit 381d89497a
)
29 lines
583 B
Plaintext
29 lines
583 B
Plaintext
plugins {
|
|
application
|
|
}
|
|
|
|
dependencies {
|
|
// Provides the input JSON to generate from
|
|
implementation(libs.minestomData)
|
|
|
|
// Common
|
|
implementation(libs.jetbrainsAnnotations)
|
|
implementation(libs.slf4j)
|
|
runtimeOnly(libs.bundles.logback)
|
|
|
|
// Parsing and generation
|
|
implementation(libs.gson)
|
|
implementation(libs.javaPoet)
|
|
}
|
|
|
|
tasks {
|
|
|
|
application {
|
|
mainClass.set("net.minestom.codegen.Generators")
|
|
}
|
|
|
|
getByName<JavaExec>("run") {
|
|
args = listOf(rootProject.projectDir.resolve("src/autogenerated/java").absolutePath)
|
|
}
|
|
}
|