Skip to content

Commit f8c50b7

Browse files
authored
Merge pull request #32 from simplecloudapp/fix/relocation
Relocate dependencies
2 parents af836fb + aa5739d commit f8c50b7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

controller-api/build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2+
13
dependencies {
24
api(project(":controller-shared"))
5+
}
6+
7+
tasks.named("shadowJar", ShadowJar::class) {
8+
mergeServiceFiles()
9+
relocate("com", "app.simplecloud.external.com")
10+
relocate("google", "app.simplecloud.external.google")
11+
relocate("io", "app.simplecloud.external.io")
12+
relocate("org", "app.simplecloud.external.org")
13+
relocate("javax", "app.simplecloud.external.javax")
14+
relocate("android", "app.simplecloud.external.android")
15+
relocate("build.buf.gen.simplecloud", "app.simplecloud.buf")
16+
archiveFileName.set("${project.name}.jar")
317
}

0 commit comments

Comments
 (0)