32 lines
646 B
Plaintext
32 lines
646 B
Plaintext
![]() |
plugins { kotlin("jvm") version "1.8.0" }
|
||
|
|
||
|
group = "org.punkcraft"
|
||
|
version = "1.0.0-Sponge"
|
||
|
description = "example plugin description"
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
maven("https://repo.spongepowered.org/maven")
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation("org.spongepowered:spongeapi:7.4.0")
|
||
|
}
|
||
|
|
||
|
java {
|
||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
tasks.jar {
|
||
|
from("src/main/resources/plugin.json") {
|
||
|
include("plugin.json")
|
||
|
}
|
||
|
manifest {
|
||
|
attributes(
|
||
|
"Main-Class" to "org.punkcraft.example.Example"
|
||
|
)
|
||
|
}
|
||
|
archiveBaseName.set("Example")
|
||
|
}
|