Fix a relocate statement

This commit is contained in:
Username404-59 2021-04-08 10:22:48 +02:00
parent 08f0a50a55
commit 892e01df21
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ allprojects {
tasks {
withType(com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar::class) {
relocate("kotlin", "${rootProject.group}.kotlin")
relocate("fr.username404.sharplapis", "${rootProject.group}.${rootProject.name.toLowerCase()}.${this@allprojects.name}")
relocate("${rootProject.group}.${rootProject.name.toLowerCase()}", "${rootProject.group}.${rootProject.name.toLowerCase()}.${this@allprojects.name}")
}
withType(Jar::class) {
manifest.attributes["Main-Class"] = "$groupAndName.installer.InstallerKt"