This commit is contained in:
ajgeiss0702
2021-07-02 10:01:28 -07:00
parent 31fc0029c6
commit 232bcdea09
30 changed files with 269 additions and 2629 deletions
+16 -9
View File
@@ -4,8 +4,21 @@ plugins {
`maven-publish`
}
group = "us.ajg0702"
version = "1.9.8"
allprojects {
version = "2.0.0"
group = "us.ajg0702"
tasks.withType<Test>().configureEach {
useJUnitPlatform()
ignoreFailures = false
failFast = true
maxParallelForks = (Runtime.getRuntime().availableProcessors() - 1).takeIf { it > 0 } ?: 1
reports.html.isEnabled = false
reports.junitXml.isEnabled = false
}
}
repositories {
mavenCentral()
@@ -23,17 +36,11 @@ repositories {
dependencies {
testImplementation("junit:junit:4.12")
testImplementation("net.kyori:adventure-text-serializer-bungeecord:4.0.0-SNAPSHOT")
testImplementation("net.kyori:adventure-text-serializer-plain:4.0.0-SNAPSHOT")
compileOnly("com.github.MyzelYam:PremiumVanishAPI:2.0.3")
compileOnly("net.md-5:bungeecord-api:1.14-SNAPSHOT")
compileOnly(group = "org.spigotmc", name = "spigot", version = "1.16.5-R0.1-SNAPSHOT")
compileOnly("me.clip:placeholderapi:2.10.4")
compileOnly("net.kyori:adventure-text-serializer-bungeecord:4.0.0-SNAPSHOT")
implementation("us.ajg0702:ajUtils:1.0.4")
implementation("org.bstats:bstats-bungeecord:2.2.1")
implementation("net.kyori:adventure-text-serializer-plain:4.0.0-SNAPSHOT")
}
@@ -51,7 +58,7 @@ tasks.shadowJar {
relocate("us.ajg0702.utils", "us.ajg0702.queue.utils")
relocate("org.bstats", "us.ajg0702.bstats")
relocate("net.kyori", "us.ajg0702.queue.kyori")
archiveFileName.set("${baseName}-${version}.${extension}")
archiveFileName.set("${archiveBaseName.get()}-${archiveVersion.get()}.${archiveExtension.get()}")
}
publishing {