Skip to content

Commit bd31137

Browse files
committed
Add src/main/java to Gradle build sourceSets for local Gradle Plugins in buildSrc/.
1 parent 328a931 commit bd31137

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
@@ -12,6 +12,17 @@ group 'io.spring.gradle'
1212

1313
sourceCompatibility = 1.8
1414

15+
sourceSets {
16+
main {
17+
java {
18+
srcDirs = []
19+
}
20+
groovy {
21+
srcDirs += [ "src/main/java" ]
22+
}
23+
}
24+
}
25+
1526
repositories {
1627
mavenCentral()
1728
gradlePluginPortal()

0 commit comments

Comments
 (0)