New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failed for groovy code #85
Comments
I'd recommend checking out the sample https://github.com/groovy/groovy-android-gradle-plugin/blob/master/groovy-android-sample-app/sample-app.gradle As for the error message you are recieving, it looks like the plugin version is getting screwed up. Could you try the latest snapshot version and see if the error goes away? |
Hi. thx for answer. fun part is... I have also downloaded whole this "project" and imported it as gradle project. here the sample project works well. if I just copy files of sample project to different location, where nor directories on same level as sample app ( siblings ), are not there, neither its parent directory, then the build fails. I have tried to modify my .gradle file according to this sample but I did not succeed. as for 0.3.8-SNAPSHOT I am somehow not able to download it, it is not found by Android Studio. thx a lot Marek |
ok, managed to build the plugin to local maven repo, and rebuild my project with 0.3.8-SNAPSHOT but still no success, the error persists. thx a lot for help! |
I'm having the same issue. I too tried the latest snapshot with no success. So unless someone comes up with a solid solution, I'm switching back to |
Hi Thanos can you confirm the issue is not present in 1.3.1 build tools? thx a lot Marek 2016-02-01 5:09 GMT+01:00 Thanos Psaridis (Fisherman) <
|
If you could provide a sample project that reproduces this issue I would better be able to help resolve it. |
GroovyTest.zip attached see my project directory. I used just wizard to create android application with blank activity, then I added groovy functionality using gradle. now the error message is different from the one I got before, but still in same gradle task. hope the sample project does help. thx a lot |
@marek-jasovsky I have no problems whatsoever using the 1.3.1 build tools. You might wanna try it |
Hi Thanos, I have tried with 1.3.1 but no success.
|
I modified @marek-jasovsky sample project and this is the configuration that works well for me. |
thx. gonna try this. how to open it? import or open existing? and where was Marek 2016-02-01 17:27 GMT+01:00 Thanos Psaridis (Fisherman) <
|
Thx a lot for help to @ThanosFisherman Cheers, Marek |
Hi
Android studio 1.5.1. fails building simple project, with groovy classes included.
app.gradle file follows:
In build I get error
Error:Execution failed for task ':app:compileDebugGroovyWithGroovyc'.
I tried to include latest versions of all components, but build still fails.
can you recommend a setup, that works? maybe some specific versions of studio, java / plugins?
thx a lot
Marek
The text was updated successfully, but these errors were encountered: