Skip to content

Commit 01a5bc2

Browse files
committed
temp: disable slimjar to try and fix github actions
1 parent 2a235cb commit 01a5bc2

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

build.gradle.kts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
id("net.kyori.indra.publishing") version "3.1.3"
1212
id("net.kyori.indra.license-header") version "3.1.3"
1313
id("com.github.johnrengelman.shadow") version "8.1.1"
14-
id("io.github.slimjar") version "1.3.0"
14+
// id("io.github.slimjar") version "1.3.0"
1515
id("xyz.jpenilla.run-paper") version "2.3.0"
1616
id("com.github.ben-manes.versions") version "0.51.0"
1717
id("org.jetbrains.dokka") version "1.9.20"
@@ -70,7 +70,7 @@ dependencies {
7070
compileOnly("net.milkbowl:vault:1.7")
7171
compileOnly("me.clip:placeholderapi:2.11.6")
7272

73-
slim("org.jetbrains.kotlin:kotlin-stdlib")
73+
// slim("org.jetbrains.kotlin:kotlin-stdlib")
7474
}
7575

7676
tasks.withType<DokkaTask>().configureEach {
@@ -92,7 +92,7 @@ tasks.withType<DokkaTask>().configureEach {
9292
tasks {
9393
build {
9494
dependsOn(named("shadowJar"))
95-
dependsOn(named("slimJar"))
95+
// dependsOn(named("slimJar"))
9696
}
9797

9898
indra {
@@ -149,29 +149,29 @@ tasks {
149149
destinationDirectory.set(rootProject.tasks.shadowJar.get().destinationDirectory.get())
150150
}
151151

152-
slimJar {
153-
fun relocates(vararg dependencies: String) {
154-
dependencies.forEach {
155-
val split = it.split(".")
156-
val name = split.last()
157-
relocate(it, "me.glaremasters.guilds.libs.$name")
158-
}
159-
}
160-
161-
relocates(
162-
"org.bstats",
163-
"co.aikar.commands",
164-
"co.aikar.locales",
165-
"co.aikar.taskchain",
166-
"ch.jalu.configme",
167-
"com.zaxxer.hikari",
168-
"org.jdbi",
169-
"org.mariadb.jdbc",
170-
"dev.triumphteam.gui",
171-
"net.kyori",
172-
"kotlin"
173-
)
174-
}
152+
// slimJar {
153+
// fun relocates(vararg dependencies: String) {
154+
// dependencies.forEach {
155+
// val split = it.split(".")
156+
// val name = split.last()
157+
// relocate(it, "me.glaremasters.guilds.libs.$name")
158+
// }
159+
// }
160+
//
161+
// relocates(
162+
// "org.bstats",
163+
// "co.aikar.commands",
164+
// "co.aikar.locales",
165+
// "co.aikar.taskchain",
166+
// "ch.jalu.configme",
167+
// "com.zaxxer.hikari",
168+
// "org.jdbi",
169+
// "org.mariadb.jdbc",
170+
// "dev.triumphteam.gui",
171+
// "net.kyori",
172+
// "kotlin"
173+
// )
174+
// }
175175

176176
processResources {
177177
expand("version" to rootProject.version)

0 commit comments

Comments
 (0)