We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9516b95 commit ddc6e11Copy full SHA for ddc6e11
1 file changed
plugin/build.gradle.kts
@@ -1,5 +1,3 @@
1
-import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin.Companion.shadowJar
2
-
3
plugins {
4
alias(libs.plugins.kotlin.jvm)
5
alias(libs.plugins.kotlin.dsl)
@@ -46,22 +44,20 @@ gradlePlugin {
46
44
}
47
45
48
+tasks.jar {
+ enabled = false
49
+}
50
+
51
tasks.shadowJar {
- enableRelocation = true
52
+ relocate("kotlinx.serialization", "jp.ntsk.room.schema.docs.plugin.relocated.kotlinx.serialization")
53
archiveClassifier.set("")
- relocationPrefix = "jp.ntsk.room.schema.docs.plugin.relocated"
54
55
56
dependencies {
57
implementation(libs.kotlinx.serialization.json)
58
59
60
publishing {
- publications {
61
- create<MavenPublication>("shadow") {
62
- artifact(tasks.named("shadowJar").get())
63
- }
64
65
repositories {
66
mavenLocal()
67
0 commit comments