Skip to content

Commit eb47aa7

Browse files
committed
Groovy Plugin compile buildSrc java files
This is necessary for java plugins to use the Groovy source code. Issue gh-9577
1 parent 9c97970 commit eb47aa7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

buildSrc/build.gradle

+11
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ repositories {
1515
maven { url 'https://repo.spring.io/plugins-release/' }
1616
}
1717

18+
sourceSets {
19+
main {
20+
java {
21+
srcDirs = []
22+
}
23+
groovy {
24+
srcDirs += ["src/main/java"]
25+
}
26+
}
27+
}
28+
1829
gradlePlugin {
1930
plugins {
2031
trang {

0 commit comments

Comments
 (0)