Annotation Processing in Gradle

Danno Ferrin danno.ferrin at shemnon.com
Thu Oct 18 16:00:55 PDT 2012


I would much prefer that it went to the maven/gradle src/main/java style,
with resources and java sources.  There is less text in the build file and
what is left is really what is relevant to the peculiarities of the build.

On Thu, Oct 18, 2012 at 3:38 PM, Richard Bair <richard.bair at oracle.com>wrote:

> 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




-- 
There is nothing that will hold me back.  I know who I am....
I remember wher I came from, and I feel stronger for knowing.
Zane, Ninja of Ice.  Ninjago S01E07


More information about the openjfx-dev mailing list