JakeWharton / sdk-manager-plugin

DEPRECATED Gradle plugin which downloads and manages your Android SDK.
Apache License 2.0
1.41k stars 142 forks source link

Subprojects #48

Open rkistner opened 9 years ago

rkistner commented 9 years ago

My project consists of multiple subprojects, and the root project is not itself an android or android-library project. Subprojects include android, android-library and plain java projects. Where would be the best place to put the apply plugin: 'android-sdk-manager' line? I see some options:

  1. The root project (does not seem to work).
  2. Every android or android-library subproject.
  3. subprojects { apply plugin: 'android-sdk-manager' } in the root project.

There doesn't seem to be any side-effects when using your plugin on non-android projects, so it feels like option 3 will be the "nicest" one.