2023-11-23 04:56:28 +00:00
|
|
|
import org.spongepowered.gradle.vanilla.repository.MinecraftPlatform
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
id("org.spongepowered.gradle.vanilla") version "0.2.1-SNAPSHOT"
|
|
|
|
}
|
|
|
|
|
|
|
|
minecraft {
|
|
|
|
version(property("mcVersion").toString())
|
|
|
|
platform(MinecraftPlatform.SERVER)
|
|
|
|
|
|
|
|
runs {
|
|
|
|
server("generate") {
|
|
|
|
mainClass("io.papermc.generator.Main")
|
|
|
|
accessWideners(projectDir.toPath().resolve("wideners.at"))
|
|
|
|
args(projectDir.toPath().resolve("generated").toString())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("com.squareup:javapoet:1.13.0")
|
|
|
|
implementation(project(":paper-api"))
|
2024-01-15 19:36:10 +00:00
|
|
|
implementation("io.github.classgraph:classgraph:4.8.47")
|
2023-11-23 04:56:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "io.papermc.paper"
|
|
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
|