We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76bb993 commit bf057feCopy full SHA for bf057fe
micrometer-osgi-test/build.gradle
@@ -26,9 +26,11 @@ dependencies {
26
def testingBundle = tasks.register('testingBundle', Bundle) {
27
archiveClassifier = 'tests'
28
from sourceSets.test.output
29
+ if (javaLanguageVersion.asInt() < 17) {
30
+ sourceSet = sourceSets.tests
31
+ }
32
bundle {
- sourceSet = sourceSets.test
- bnd = """\
33
+ bnd """\
34
Bundle-SymbolicName: \${task.archiveBaseName}-\${task.archiveClassifier}
35
Test-Cases: \${classes;HIERARCHY_INDIRECTLY_ANNOTATED;org.junit.platform.commons.annotation.Testable;CONCRETE}
36
""".stripIndent()
0 commit comments