Closed jaredsburrows closed 8 years ago
Hmm what type is the project android-gradle-java-template
? Also does it work if you don't use the new Gradle Plugin mechanism?
It is an android example, see here: https://github.com/jaredsburrows/android-gradle-java-app-template/blob/master/build.gradle#L10.
Yes, I have used your plugin since the beginning! It works find in the buildscript
block just not when using the plugins
block because the Android gradle plugin does not support the plugins
block yet.
Uh nice template project there. Well then I guess it's more of a limitation of the Android Gradle Plugin, I am also only using it via the old way and not the new plugin mechanism.
I also tried locally to set up it up with plugins
and I could seem to get it working. Sorry for that. Do you know whether there's anything we as library devs can do?
Regarding the tools you're also providing there, I have a bunch of them abstracted to make easier use of them and not reduce boiler plate in every project. Any feedback is welcome
Thanks. You notice I do use your plugin but I am trying to convert everything to the plugins
block.
This is a limitation by the Android gradle plugin, I just wanted to see if you knew of a work around.
Thanks for the tools! I like to configure some of the tools myself to be able to show and teach others how to use Gradle and get them started on writing their own build.gradle
files.
So I guess, we can close this until Google makes their plugin available on plugins.gradle.org.
@vanniktech
Example:
Error: