MINOR: Enable scala/java joint compilation consistently for `core` module
We were doing it only for test files previously.
Reviewers: Chia-Ping Tsai Jose Sancio
@@ -1029,9 +1029,13 @@ project(':core') {
}
sourceSets {
+ // Set java/scala source folders in the `scala` block to enable joint compilation
main {
java {
- srcDirs = ["src/generated/java", "src/main/java"]
+ srcDirs = []
+ }
+ scala {
+ srcDirs = ["src/generated/java", "src/main/java", "src/main/scala"]
}
}
test {
