2025-02-08 12:17:31 +03:00
|
|
|
plugins { kotlin("jvm") version "1.8.0" }
|
|
|
|
|
|
|
|
group = "org.punkcraft"
|
|
|
|
version = "1.0.0-Sponge"
|
|
|
|
// description = "Here lies an example plugin definition"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://repo.spongepowered.org/maven")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2025-02-13 09:12:01 +03:00
|
|
|
implementation("org.spongepowered:spongeapi:7.4.0")
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2025-02-08 12:17:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.jar {
|
2025-02-13 09:12:01 +03:00
|
|
|
from("src/main/resources/plugin.json") {
|
|
|
|
include("plugin.json")
|
|
|
|
}
|
|
|
|
manifest {
|
|
|
|
attributes(
|
|
|
|
"Main-Class" to "org.punkcraft.zombienoburnsun.ZombieNoburnSun"
|
|
|
|
)
|
|
|
|
}
|
2025-02-13 13:38:34 +03:00
|
|
|
archiveBaseName.set("ZombieNoburnSun")
|
2025-02-08 12:17:31 +03:00
|
|
|
}
|