Skip to content

Commit d44f340

Browse files
committed
Fix shadow build sets
1 parent 1d9f36c commit d44f340

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ sourceSets {
5555
srcDir 'src/generated/resources'
5656
}
5757

58-
compileClasspath += compileClasspath += sourceSets.api.output
58+
runtimeClasspath += sourceSets.api.output
59+
compileClasspath += sourceSets.api.output
5960
}
6061

6162
test {
@@ -288,6 +289,9 @@ tasks.withType(Jar).configureEach {
288289

289290
shadowJar {
290291
classifier ""
292+
from sourceSets.api.output
293+
from sourceSets.main.output
294+
291295
configurations = [project.configurations.shade]
292296
exclude "LICENSE*"
293297
finalizedBy 'reobfShadowJar'

0 commit comments

Comments
 (0)