Android Studio Gradle new "apply plugin" -


all of tutorials i've read gradle explain build.gradle file should contain either:

apply plugin: 'android' 

or

apply plugin: 'android-library' 

however, i've built new project android studio 0.8.6 , build.gradle has:

apply plugin: 'com.android.application' 

  1. is purely syntax change or there deeper purpose?
  2. what new syntax creating android library?

  1. pure syntax change ( think avoid collisions / use 'protected' namespace )
  2. com.android.library

this talk 2014 gradle summit sheds more light on it: https://www.youtube.com/watch?v=a9fn3ehhu-o ~ min 15


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -