diff options
Diffstat (limited to 'buildSrc/src/main/groovy/refinery-java-test-fixtures.gradle')
-rw-r--r-- | buildSrc/src/main/groovy/refinery-java-test-fixtures.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildSrc/src/main/groovy/refinery-java-test-fixtures.gradle b/buildSrc/src/main/groovy/refinery-java-test-fixtures.gradle index 326fa868..693cba98 100644 --- a/buildSrc/src/main/groovy/refinery-java-test-fixtures.gradle +++ b/buildSrc/src/main/groovy/refinery-java-test-fixtures.gradle | |||
@@ -24,7 +24,9 @@ eclipse.classpath { | |||
24 | if (hasTest && usedBy.contains('testFixtures')) { | 24 | if (hasTest && usedBy.contains('testFixtures')) { |
25 | usedBy += 'test' | 25 | usedBy += 'test' |
26 | } | 26 | } |
27 | entry.entryAttributes['gradle_used_by_scope'] = usedBy.join(',') | 27 | if (!usedBy.empty) { |
28 | entry.entryAttributes['gradle_used_by_scope'] = usedBy.join(',') | ||
29 | } | ||
28 | } | 30 | } |
29 | } | 31 | } |
30 | } | 32 | } |