All of the tutorials I've read for Gradle explain that the build.gradle
file should contain either:
apply plugin: 'android'
or
apply plugin: 'android-library'
However, I've just built a new project with Android Studio 0.8.6 and my build.gradle
now has:
apply plugin: 'com.android.application'
- Is it purely a syntax change or is there some deeper purpose?
- What is the new syntax for creating an android library?