|New Android build system in based on Gradle||Matthias||10/11/12 12:37 AM|
Have you seen this? http://tools.android.com/tech-docs/new-build-system
I was wondering what this means w.r.t. Android library projects and apklib artifacts?
|Re: [maven-android-developers] New Android build system in based on Gradle||Manfred Moser (simpligility)||10/11/12 9:59 AM|
I have been working with Xavier (SDK lead) and Hans (Gradle lead) on this.
It means a few things:
- the core functionality of the SDK tools moves into a java library that
- this library is deployed to the central repository and we will be using
that in the android maven plugin as well in the future, it is already in
- a new format expanding on the ideas of apklib is being created and will
use packaging/extension aar (for android archive just like jar for java
- the android maven plugin will move to support that format
- Xavier is going to push sdk tools related jars to the central repository
freeing up the Android4Maven project from the need to do that
- hopefully all artifacts like android jar and closed source ones like
maps will end up in the central repo (still working on that, stay tuned)
So all in all it looks like there are great things ahead.
PS: I know there are a number of pull requests. I am going to look at
merging them and cut a new release asap ...
|Re: [maven-android-developers] New Android build system in based on Gradle||Robert.M...@gmail.com||10/12/12 4:17 AM|
Oh glorious day! That is indeed great news for all android maven projects.
|Re: New Android build system in based on Gradle||Matthias||10/15/12 1:42 AM|
Fantastic news indeed! I was worried there for a moment (and happy at the same time, since I can finally move back to a production ready Groovy based build system.)
|Re: New Android build system in based on Gradle||yorkw||11/30/12 1:38 AM|
Glad to hear android team now start trying to revamp the build system. Looking forward to make some contribution on this :D
|Re: New Android build system in based on Gradle||Stéphane Nicolas||12/5/12 8:38 PM|
Thanks for this all !
I am really impatient to the maps in central, and to try out the new build system.
Is there any ETA for release 1.0 of the new build system ?
Can you suggest any time for switching to gradle or is it already time to get familiar with it ?
|Re: [maven-android-developers] Re: New Android build system in based on Gradle||Manfred Moser (simpligility)||12/6/12 10:27 AM|
On Wed, December 5, 2012 8:38 pm, Stéphane Nicolas wrote:Well... dont hold your breath for that to happen. Currently the new gradle
build pulls the artifacts from the SDK.. sigh
Yes... you can get familiar with it. Is it time to switch. Thats up to
you. Personally I will stick to what I know works.. the android maven
plugin ;-) and hopefully get some of the libraries used in the new build
system integrated into the plugin once they are on central in a more final
form (current its at version 0.4)
|Re: [maven-android-developers] Re: New Android build system in based on Gradle||yorkw||12/6/12 1:26 PM|
Do you know why Android team choose Gradle over Maven as the new build system? Given the fact that Gradle is not as popular as Ant or Maven (far from that ,based on my understanding) and android-maven-plugin become quite mature, What is the point of reinventing the wheel.
I had a quick read the current release 0.2 and the roadmap. Most of features (implemented or promised) are covered or doable via android-maven-plugin. I don't see any shiny point that encourage me switch from Maven to Gradle.
The only exciting bit is aar support, which is no yet implemented in new Gradle build system, and I am sure android-maven-plugin will continue growing and developing to support whatever in the new build system.
|Re: [maven-android-developers] Re: New Android build system in based on Gradle||Manfred Moser (simpligility)||12/6/12 9:02 PM|
I am not going to go into this topic in a public forum. Lets just say I understand Xavier's motivation, but tend to disagree. In general though reinventing the wheel seems a common practice in our industry ;-)
Good.. there should not be. Hopefully we can continue to keep up and potentially stay ahead. It all depends on all your contributions...
I hope so too. I am definitely not switching any time soon.
|Re: [maven-android-developers] Re: New Android build system in based on Gradle||yorkw||12/7/12 12:24 AM|
Damn, I think I can probably guess the reason now :P