File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ hilt = "2.57"
1818hiltNavigationCompose = " 1.2.0"
1919navigation = " 2.9.3"
2020gradle-plugin-publish = " 1.3.1"
21- shadow = " 9.0.0-rc2 "
21+ shadow = " 9.0.1 "
2222
2323[libraries ]
2424junit = { group = " junit" , name = " junit" , version.ref = " junit" }
Original file line number Diff line number Diff line change 1- import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin.Companion.shadowJar
2-
31plugins {
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+
4951tasks.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
5556dependencies {
5657 implementation(libs.kotlinx.serialization.json)
5758}
5859
5960publishing {
60- publications {
61- create<MavenPublication >(" shadow" ) {
62- artifact(tasks.named(" shadowJar" ).get())
63- }
64- }
6561 repositories {
6662 mavenLocal()
6763 }
You can’t perform that action at this time.
0 commit comments