Hi

In `build.gradle` various projects define their sourceSets to include the
generated source dir. e.g.

sourceSets {
    main {
      java {
        srcDirs = ["src/generated/java", "src/main/java"]
      }
    }
    test {
      java {
        srcDirs = ["src/generated/java", "src/generated-test/java",
"src/test/java"]
      }
    }
  }

Shouldn't "src/generated/java" be removed from the test source set?  I
would have thought those java files should get compiled when the main sourceset
gets compiled and then be implicitly included in the test project's
classpath.  Why compile them twice?

regards
Arthur

Reply via email to