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

Add ability to configure dependencies via sdkManager extension #76

Open ok3141 opened 9 years ago

ok3141 commented 9 years ago

Due to some bugs already registered here it may helpful to implement direct configuring via sdkManager extension. It may be something like Travis has:

sdkManager {
    buildTools = 22.0.0
    platform = 22
    extraGoogleRepository = true
    extraAndroidRepository = true
}
ncalexan commented 8 years ago

@JakeWharton: I'm evaluating using this plugin to implement bootstrapping the Firefox for Android development environment.

For hysterical raisins, we need to download some extras that are usually provided by the various m2repository extras as old-style extras. One way to achieve that would be to add a list of additional Android packages to install, like:

sdkManager {
    additionalPackages = ["extra-android-support", ...]
}

Would you take a PR like that?

JakeWharton commented 8 years ago

Sure. That would solve the emulator downloading too.

On Fri, Jul 10, 2015, 8:18 PM Nick Alexander notifications@github.com wrote:

@JakeWharton https://github.com/JakeWharton: I'm evaluating using this plugin to implement bootstrapping the Firefox for Android development environment.

For hysterical raisins, we need to download some extras that are usually provided by the various m2repository extras as old-style extras. One way to achieve that would be to add a list of additional Android packages to install, like:

sdkManager { additionalPackages = ["extra-android-support", ...] }

Would you take a PR like that?

— Reply to this email directly or view it on GitHub https://github.com/JakeWharton/sdk-manager-plugin/issues/76#issuecomment-120554901 .