Tuesday, October 28, 2014

Gradle support updated

After a long delay I have made a few changes to pick up Android SDK updates and newer version of Gradle plugin.

I received an interesting patch for new project wizard but it needs some polishing before it gets integrated.

Monday, July 28, 2014

Android plugin for Gradle 0.11/0.12

NBAndroid plugin version 1.249 bundles newer version of SDK tools and Gradle support that makes it working with Android plugin for Gradle 0.11 and 0.12. It also means that older version 0.10 won't be supported anymore.

Friday, May 16, 2014

Testing with flavors

Real feedback from users is always the best and helps to focus on things that actually matter. Better support for Gradle projects using flavors is one of them and there is a few bugs reported recently. The first fix is ability to run tests in these projects corectly. Actually there are two parts to this:

  • NBAndroid now correctly builds only the APK for current build variant with its test.
  • Gradle projects let you use custom instrumentation test runner like Ant-based projects.
The change is part of 1.245 version.

Friday, May 2, 2014

Android plugin 0.10

Another version of Gradle plugin is out and as usual it is followed by an update in NBAndroid. Personally I like that all Gradle versions starting with 1.10 are supported including recently released 1.12.

Sunday, April 27, 2014

Gradle with dependency on Java library project

Let me repeat it again: Gradle project are the future build system if you're developing Android applications. At the moment the trend is also visible in a reported usage of Gradle plugin.

Latest release (1.239) brings another improvement - it fixes classpath resolving if you have a multi-project setup where Android project depends on non-Android Java library. Classes from that library were not recognized in editor and related IDE parts. Thanks for the bug report.

Wednesday, April 9, 2014

Documentation updates

I've made some changes to a wiki describing NBAndroid and NBAndroid extensions based on the feedback that I'm receiving continually. The goal is to move documentation into one place and make it simpler to find the content there. This effort is based mostly on an input from the feedback form filled by users who asked for NBAndroid Extension evaluation key.

Sunday, March 16, 2014

Gradle plugin 0.9.0

Recently published version 0.9.0 of Gradle plugin for Android development brings some incompatible changes again. Most important one that affects all projects is rename of instrumentTest sourceTest to androidTest. Please check the documentation to see how to update your projects. The good news is that it now supports Gradle versions 1.10 and 1.11. And of course it is now supported in NBAndroid.