We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f9757 commit 9f34951Copy full SHA for 9f34951
prepare/kotlin-annotation-processing-embeddable/build.gradle.kts
@@ -1,5 +1,3 @@
1
-
2
-import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
3
import org.gradle.jvm.tasks.Jar
4
5
description = "Annotation Processor for Kotlin (for using with embeddable compiler)"
@@ -8,19 +6,15 @@ plugins {
8
6
`java`
9
7
}
10
11
-val packedJars by configurations.creating
12
13
dependencies {
14
- packedJars(project(":kotlin-annotation-processing")) { isTransitive = false }
+ embedded(project(":kotlin-annotation-processing")) { isTransitive = false }
15
16
17
publish()
18
19
-runtimeJar(rewriteDepsToShadedCompiler(
20
- task<ShadowJar>("shadowJar") {
21
- from(packedJars)
22
- }
23
-))
+val jar: Jar by tasks
+runtimeJar(rewriteDepsToShadedCompiler(jar))
24
25
sourcesJar()
+
26
javadocJar()
0 commit comments