Skip to content

Commit cf27eeb

Browse files
rwinchAyush Kohli
authored and
Ayush Kohli
committed
Groovy Plugin compile buildSrc java files
This is necessary for java plugins to use the Groovy source code. Issue spring-projectsgh-9577
1 parent d612f74 commit cf27eeb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

buildSrc/build.gradle

Lines changed: 11 additions & 0 deletions
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)