mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-03 06:28:53 +00:00
Setup slf4j and shade bstats (#5)
This commit is contained in:
1 parent
9806a083bc
commit
5b07416c08
4 files changed
+30
-752
No files matched your search
+16
-2
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id "java"
|
||||
id "com.github.hierynomus.license" version "0.15.0"
|
||||
id "com.github.johnrengelman.shadow" version "6.0.0"
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
@@ -10,16 +11,29 @@ repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven { url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots" }
|
||||
maven { url = "https://libraries.minecraft.net/" }
|
||||
maven { url = "https://repo.codemc.org/repository/maven-public" }
|
||||
maven { url = "https://libraries.minecraft.net/" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
"compileOnly"("org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT")
|
||||
"implementation"("com.mojang:authlib:1.5.25")
|
||||
"implementation"("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
|
||||
"compile"("org.bstats:bstats-bukkit:1.7")
|
||||
}
|
||||
|
||||
version = "1.4.0"
|
||||
version = "2.0.0"
|
||||
|
||||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency('org.apache.logging.log4j:log4j-slf4j-impl'))
|
||||
include(dependency('org.slf4j:slf4j-api'))
|
||||
include(dependency("org.bstats:bstats-bukkit:1.7"))
|
||||
}
|
||||
relocate('org.apache.logging.slf4j', 'net.arcaniax.logging.apache')
|
||||
relocate('org.slf4j', 'net.arcaniax.logging.slf4j')
|
||||
relocate("org.bstats", "net.arcaniax.metrics")
|
||||
}
|
||||
|
||||
license {
|
||||
header rootProject.file('HEADER')
|
||||
|
||||
Reference in new issue
Block a user