remove plugin.yml

This commit is contained in:
Len 2023-12-30 11:02:12 +01:00
parent 2dc05d7536
commit 875e8f3dbe
2 changed files with 11 additions and 5 deletions

View File

@ -3,6 +3,7 @@ import java.io.ByteArrayOutputStream
plugins {
`java-library`
`maven-publish`
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
}
dependencies {
@ -11,7 +12,7 @@ dependencies {
}
}
group = "com.alttd"
group = "com.alttd.altitudeapi"
version = System.getenv("BUILD_NUMBER") ?: gitCommit()
description = "AltitudeAPI"
@ -65,4 +66,13 @@ fun gitCommit(): String {
standardOutput = os
}
return String(os.toByteArray()).trim()
}
bukkit {
name = rootProject.name
main = "$group.${rootProject.name}"
version = "${rootProject.version}"
apiVersion = "1.20"
authors = listOf("Michael Ziluck", "destro174")
}

View File

@ -1,4 +0,0 @@
main: com.alttd.altitudeapi.AltitudeAPI
name: AltitudeAPI
version: ${project.version}
author: Michael Ziluck