Annotation Processing in Gradle

Richard Bair richard.bair at oracle.com
Thu Oct 18 14:38:24 PDT 2012


Found it. For some reason, BuilderProcessor.properties is not being copied over. So the Gradle says:

project(':build-tools') {
    sourceSets {
        main {
            java {
                srcDirs = ['src/java']
                exclude "META-INF/services/*"
            }
            resources {
                srcDirs = ['src/java']
                include "META-INF/services/*"
            }
        }
    }
}

So I guess .properties files are not copied as part of the "java" dir normally. I wonder what else isn't copied normally (we've got a bunch of non .java files that are in the java dir. We don't use a separate resources dir).

Richard


More information about the openjfx-dev mailing list