Skip to content

Commit 014e448

Browse files
authored
Merge pull request #52 from ntsk/renovate/shadow
Update dependency com.gradleup.shadow to v9.0.1
2 parents 78d3816 + ddc6e11 commit 014e448

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ hilt = "2.57"
1818
hiltNavigationCompose = "1.2.0"
1919
navigation = "2.9.3"
2020
gradle-plugin-publish = "1.3.1"
21-
shadow = "9.0.0-rc2"
21+
shadow = "9.0.1"
2222

2323
[libraries]
2424
junit = { group = "junit", name = "junit", version.ref = "junit" }

plugin/build.gradle.kts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin.Companion.shadowJar
2-
31
plugins {
42
alias(libs.plugins.kotlin.jvm)
53
alias(libs.plugins.kotlin.dsl)
@@ -46,22 +44,20 @@ gradlePlugin {
4644
}
4745
}
4846

47+
tasks.jar {
48+
enabled = false
49+
}
50+
4951
tasks.shadowJar {
50-
enableRelocation = true
52+
relocate("kotlinx.serialization", "jp.ntsk.room.schema.docs.plugin.relocated.kotlinx.serialization")
5153
archiveClassifier.set("")
52-
relocationPrefix = "jp.ntsk.room.schema.docs.plugin.relocated"
5354
}
5455

5556
dependencies {
5657
implementation(libs.kotlinx.serialization.json)
5758
}
5859

5960
publishing {
60-
publications {
61-
create<MavenPublication>("shadow") {
62-
artifact(tasks.named("shadowJar").get())
63-
}
64-
}
6561
repositories {
6662
mavenLocal()
6763
}

0 commit comments

Comments
 (0)