File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 11plugins {
22 org.jetbrains.kotlin.jvm
3+ // If you see Schlaubi using Shadow, you know he's desperate
4+ id(" com.gradleup.shadow" ) version " 9.0.0-rc3"
35}
46
57kotlin {
@@ -8,11 +10,25 @@ kotlin {
810 }
911}
1012
13+ val shadow by configurations.getting
14+
1115dependencies {
12- implementation (libs.codegen.kotlinpoet)
13- implementation (libs.kotlinpoet.ksp)
16+ shadow (libs.codegen.kotlinpoet)
17+ shadow (libs.kotlinpoet.ksp)
1418 implementation(libs.ksp.api)
15- implementation(projects.kotlinpoet.internalAnnotations)
16- implementation(projects.ksp.annotations)
17- implementation(projects.ksp)
19+ shadow(projects.kotlinpoet.internalAnnotations)
20+ shadow(projects.ksp.annotations)
21+ shadow(projects.ksp)
22+ }
23+
24+ tasks {
25+ jar {
26+ dependsOn(shadowJar)
27+ enabled = false
28+ }
29+
30+ shadowJar {
31+ archiveClassifier = " "
32+ configurations = listOf (shadow)
33+ }
1834}
You can’t perform that action at this time.
0 commit comments