25 lines
492 B
Plaintext
25 lines
492 B
Plaintext
plugins {
|
|
java
|
|
application
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("com.google.protobuf:protobuf-java:3.25.1")
|
|
}
|
|
|
|
application {
|
|
mainClass.set("org.patchbukkit.protocgen.FfiGenerator")
|
|
}
|
|
|
|
tasks.jar {
|
|
manifest {
|
|
attributes["Main-Class"] = "org.patchbukkit.protocgen.FfiGenerator"
|
|
}
|
|
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
}
|