2019-08-12 19:14:11 +00:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
id("net.kyori.blossom") version "1.1.0"
|
|
|
|
id("com.github.johnrengelman.shadow") version "4.0.4"
|
|
|
|
}
|
|
|
|
|
|
|
|
group = "com.actualplayer"
|
2019-08-13 06:52:48 +00:00
|
|
|
version = "1.1"
|
2019-08-12 19:14:11 +00:00
|
|
|
description = "A way for the user to login to the server he last connected to."
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
name = "velocity"
|
|
|
|
setUrl("https://repo.velocitypowered.com/snapshots/")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultTasks("clean", "build", "shadowJar")
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.8")
|
|
|
|
annotationProcessor("org.projectlombok:lombok:1.18.8")
|
|
|
|
|
2019-08-12 21:57:18 +00:00
|
|
|
implementation("me.lucko.luckperms:luckperms-api:4.4")
|
|
|
|
|
2019-08-12 19:14:11 +00:00
|
|
|
compileOnly("com.velocitypowered:velocity-api:1.0.3-SNAPSHOT")
|
|
|
|
annotationProcessor("com.velocitypowered:velocity-api:1.0.3-SNAPSHOT")
|
|
|
|
|
2019-08-13 06:52:48 +00:00
|
|
|
implementation("org.yaml:snakeyaml:1.18")
|
2019-08-12 19:14:11 +00:00
|
|
|
|
|
|
|
testImplementation("junit", "junit", "4.12")
|
|
|
|
}
|
|
|
|
|
|
|
|
blossom {
|
2019-08-13 06:52:48 +00:00
|
|
|
replaceToken("@ID@", name.replace(" ", "").toLowerCase())
|
2019-08-12 19:14:11 +00:00
|
|
|
replaceToken("@NAME@", name)
|
|
|
|
replaceToken("@VERSION@", version)
|
|
|
|
replaceToken("@DESCRIPTION@", description)
|
|
|
|
}
|
|
|
|
|
|
|
|
configure<JavaPluginConvention> {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
2019-08-12 21:57:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
runtime {
|
|
|
|
exclude(group = "me.lucko.luckperms")
|
|
|
|
}
|
2019-08-12 19:14:11 +00:00
|
|
|
}
|