My colleague Paul posted the explanation what we needed change a week
ago but it seems to be lost in the moderation queue. I know you're busy
right now, Xavier, but could you check please?

thx,
Stefan

Tom Billiet schrieb:
> Did also change something regarding the order how the sourcesets are
> evaluated?
>
> We used to do this but it does no longer work:
> AfterEvaluate {
>   android.sourceSets.main.java.srcDir file(typesDir)
> }
> The directory is added to the sourceset but that is not picked up by
> the compileDebugJava task. If the directory is added without
> afterEvaluate it works fine, but unfortunately in my script I don't
> know the value yet at that point.
>
> Thanks,
> Tom
>
> Op woensdag 11 juni 2014 19:02:38 UTC+2 schreef Xavier Ducrohet:
>
>     We didn't rename the fields, but android.sourceSets*.java is not
>     the same type as before.
>
>     This is because we used to use an internal Gradle class and we
>     needed to move away from using their internal classes to avoid
>     breakage when Gradle does an update.
>
>     Long term we'll move to their new source model (introduced with
>     the native support), but for now we had to get away from the
>     internal stuff ASAP.
>
>     project.android.sourceSets*.java.srcDirs should still work.
>     Project.android.sourceSets*.java.sourceFiles also works and
>     returns a FileTree with the include/exclude patterns applied.
>
>
>     On Wed, Jun 11, 2014 at 3:14 AM, Stefan Hoth <[email protected]
>     <javascript:>> wrote:
>
>         Hi,
>
>         just a quick question: In 0.11 of the plugin you changed the
>         directory structure of some output files (e.g.
>         build/lint-results.xml to build/outputs/lint-results.xml,
>         build/classes to build/intermediates/classes etc).
>
>         We figured this out and could make our static code analysis
>         tools work again but it seems they can't find the source sets
>         anymore and come out with empty results or missing classes.
>
>         So my question is: Did you also rename
>         gradleProject.android.sourceSets*.java.srcDirs or similar fields?
>
>         Thanks,
>         Stefan
>         -- 
>         You received this message because you are subscribed to the
>         Google Groups "adt-dev" group.
>         To unsubscribe from this group and stop receiving emails from
>         it, send an email to [email protected] <javascript:>.
>         For more options, visit https://groups.google.com/d/optout
>         <https://groups.google.com/d/optout>.
>
>
>
>
>     -- 
>     Xavier Ducrohet
>     Android SDK Tech Lead
>     Google Inc.
>     http://developer.android.com | http://tools.android.com
>
>     Please do not send me questions directly. Thanks! 
>
> -- 
> You received this message because you are subscribed to a topic in the
> Google Groups "adt-dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adt-dev/Bt6hagxzqR0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to