We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd34432 commit 1031d15Copy full SHA for 1031d15
lib-extra/build.gradle
@@ -56,16 +56,16 @@ for (needsP2 in NEEDS_P2_DEPS) {
56
add("${needsP2}CompileOnly", "dev.equo.ide:solstice:${VER_SOLSTICE}")
57
}
58
59
-jar {
+
60
+def jar = tasks.named('jar', Jar) {
61
for (needsP2 in NEEDS_P2_DEPS) {
- from sourceSets.getByName(needsP2).output.classesDirs
62
+ from sourceSets.named(needsP2).map { it.output.classesDirs }
63
64
65
66
tasks.withType(Test).configureEach {
67
dependsOn jar
- doFirst {
- classpath += jar.outputs.files
68
- }
+ classpath += jar.get().outputs.files
69
70
71
apply plugin: 'dev.equo.p2deps'
0 commit comments