Remove API module
This commit is contained in:
+22
-2
@@ -2,15 +2,15 @@ import java.io.ByteArrayOutputStream
|
||||
|
||||
plugins {
|
||||
id("java")
|
||||
id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
|
||||
id("com.github.johnrengelman.shadow") version "7.1.0"
|
||||
}
|
||||
|
||||
allprojects {
|
||||
group = "com.alttd.playershops"
|
||||
version = "1.0-SNAPSHOT"
|
||||
description = "Player Shop plugin for Altitude."
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply<JavaLibraryPlugin>()
|
||||
|
||||
java {
|
||||
@@ -30,6 +30,17 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("com.alttd:Galaxy-API:1.18.2-R0.1-SNAPSHOT")
|
||||
compileOnly("com.github.milkbowl:VaultAPI:1.7") {
|
||||
exclude("org.bukkit","bukkit")
|
||||
}
|
||||
compileOnly("com.github.TechFortress:GriefPrevention:16.17.1")
|
||||
|
||||
compileOnly("org.projectlombok:lombok:1.18.24")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
||||
}
|
||||
|
||||
fun gitCommit(): String {
|
||||
val os = ByteArrayOutputStream()
|
||||
project.exec {
|
||||
@@ -37,4 +48,13 @@ fun gitCommit(): String {
|
||||
standardOutput = os
|
||||
}
|
||||
return String(os.toByteArray()).trim()
|
||||
}
|
||||
|
||||
bukkit {
|
||||
name = rootProject.name
|
||||
main = "$group.${rootProject.name}"
|
||||
version = "${rootProject.version}-${gitCommit()}"
|
||||
apiVersion = "1.18"
|
||||
authors = listOf("destro174")
|
||||
depend = listOf("Vault")
|
||||
}
|
||||
Reference in New Issue
Block a user