Don't shadow and relocate the jetbrains annotations
This commit is contained in:
parent
8c476be0b8
commit
439a6e6574
|
@ -58,7 +58,6 @@ subprojects {
|
||||||
"$kotlinX:kotlinx-datetime:0.2.1",
|
"$kotlinX:kotlinx-datetime:0.2.1",
|
||||||
"com.typesafe:config:1.4.1",
|
"com.typesafe:config:1.4.1",
|
||||||
"io.github.config4k:config4k:0.4.2",
|
"io.github.config4k:config4k:0.4.2",
|
||||||
"org.jetbrains:annotations:21.0.1",
|
|
||||||
"com.github.Vatuu:discord-rpc:1.6.2"
|
"com.github.Vatuu:discord-rpc:1.6.2"
|
||||||
).forEach { implementation(it); shadowC(it) { isTransitive = false; exclude("com.sun.jna") } }
|
).forEach { implementation(it); shadowC(it) { isTransitive = false; exclude("com.sun.jna") } }
|
||||||
"minecraft"("com.mojang:minecraft:${rootProject.property("minecraft")}")
|
"minecraft"("com.mojang:minecraft:${rootProject.property("minecraft")}")
|
||||||
|
@ -74,7 +73,6 @@ subprojects {
|
||||||
withType(ShadowJar::class) {
|
withType(ShadowJar::class) {
|
||||||
this.configurations = listOf(shadowC)
|
this.configurations = listOf(shadowC)
|
||||||
relocate("kotlinx.datetime", "${rootProject.group}.datetime")
|
relocate("kotlinx.datetime", "${rootProject.group}.datetime")
|
||||||
relocate("org.jetbrains", "${rootProject.group}.jetbrainslibs")
|
|
||||||
relocate("javassist", "${rootProject.group}.javassist")
|
relocate("javassist", "${rootProject.group}.javassist")
|
||||||
relocate("org.reflections8", "${rootProject.group}.reflectionlib")
|
relocate("org.reflections8", "${rootProject.group}.reflectionlib")
|
||||||
relocate("com.typesafe.config", "${rootProject.group}.typesafe.config")
|
relocate("com.typesafe.config", "${rootProject.group}.typesafe.config")
|
||||||
|
|
Loading…
Reference in New Issue