New Android build system in based on Gradle

Showing 1-10 of 10 messages
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
gradle wraps
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.android.tools.build%22%20AND%20a%3A%22gradle%22

- 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
central now
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.android.tools.build%22%20AND%20a%3A%22builder%22

- 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
archive)

- 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.

Manfred

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.

Cheers,

Rob


--



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 ?

Stéphane

Le jeudi 11 octobre 2012 09:37:18 UTC+2, Matthias a écrit :
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] 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:
> Thanks for this all !
>
> I am really impatient to the maps in central, and to try out the new build
> system.

Well... dont hold your breath for that to happen. Currently the new gradle
build pulls the artifacts from the SDK.. sigh

> 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 ?

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)

manfred
Re: [maven-android-developers] Re: New Android build system in based on Gradle yorkw 12/6/12 1:26 PM
Hi Manfred,

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.

Regards,
York
Re: [maven-android-developers] Re: New Android build system in based on Gradle Manfred Moser (simpligility) 12/6/12 9:02 PM


On Thursday, 6 December 2012 13:26:56 UTC-8, yorkw wrote:
Hi Manfred,

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 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 ;-) 
 
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.

Good.. there should not be. Hopefully we can continue to keep up and potentially stay ahead. It all depends on all your contributions...
 

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.

I hope so too. I am definitely not switching any time soon.

manfred
Re: [maven-android-developers] Re: New Android build system in based on Gradle yorkw 12/7/12 12:24 AM

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 ;-) 

Damn, I think I can probably guess the reason now :P