I think it's just a matter of making our transforms more lenient w.r.t
existence of these files. It's clear that some scope may be empty and
therefore when a Jar transform is applied to them, the output may not exist.
thanks for the report.
On Tue, Oct 6, 2015 at 9:06 AM, Ariel Cattan wrote:
>
Right! :-) Sorry...
Here's the correct one:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test2:transformClassesWithDexForDemoDebug'.
> java.io.FileNotFoundException:
D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\SUB_PROJECTS_LOCA
it does not seem to be the right stack trace :) this one is from the other
issue you are facing : ParseException vs FileNotFoundException...
On Tue, Oct 6, 2015 at 8:53 AM Ariel Cattan wrote:
> Sure, here it is:
>
> UNEXPECTED TOP-LEVEL EXCEPTION:
> java.lang.RuntimeException: Exception parsing
Sure, here it is:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Exception parsing classes
at com.android.dx.command.dexer.Main.processClass(Main.java:752)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:718)
at com.android.dx.command.dexer.Main.access$1200(Main.java:8
can you get the complete stack trace ? --stacktrace when you invoke gradle.
thanks,
On Tue, Oct 6, 2015 at 4:48 AM Ariel Cattan wrote:
> Hi,
>
> Trying to run an AsInput transform with android gradle plugin 1.4.0-beta6
> as follows:
>
> getOutputFormat() - I return Format.JAR
>
> getScopes() -
Hi,
Trying to run an AsInput transform with android gradle plugin 1.4.0-beta6
as follows:
getOutputFormat() - I return Format.JAR
getScopes() - I ask for all the scopes
In my case, SUB_PROJECTS_LOCAL_DEPS doesn't contain anything. If I look at:
...\build\intermediates\transforms\CLASSES_and_R