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

Next Release? #73

Open mikeholler opened 9 years ago

mikeholler commented 9 years ago

Will we see the features in master in Maven Central any time soon? I'm particularly interested in support for the following:

// optionally including an emulator
sdkManager {
  emulatorVersion 'android-19'
  emulatorArchitecture 'armeabi-v7a' // optional, defaults to arm
}

This feature is advertised in the project's README (master branch), but it is not available in the 0.12.+ release recommended in the same document. From the looks of it, the last release (0.12.0) was on 2014-07-12 and a number of features have been added since then. Is there a place other than Maven Central to get theses updates?

xorgate commented 9 years ago

Ah, I guess this is why my build is failing, it's not in the published library yet. Maybe in the meantime remove it from the README?

brennantaylor commented 9 years ago

Keeping the README up to date with the content of the branch it is on seems like a good idea. You should probably look at the README for the release you are targeting instead.

If you are using 0.12.0 you can view it by going to "releases" and clicking the commit for the tag and browsing the files:

https://github.com/JakeWharton/sdk-manager-plugin/tree/36c9420940979e427437a65ab55c28b570699a40

plastiv commented 9 years ago

While Jake is busy with his pet project* we can use jitpack.io to get binaries:

buildscript {
    repositories {
        jcenter()
        maven { url 'https://jitpack.io' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.2.3'
        classpath 'com.github.JakeWharton:sdk-manager-plugin:0ce4cdf08009d79223850a59959d9d6e774d0f77'
    }
}

Where 0ce4cdf08009d79223850a59959d9d6e774d0f77 is the HEAD commit SHA. It's even better then -SNAPSHOT releases because we can fix source state by commit.

* See what I did here with Moshi

JakeWharton commented 9 years ago

Nice. And nice!

On Fri, May 29, 2015 at 1:49 AM Pechenizkyi Sergii notifications@github.com wrote:

While Jake is busy with his pet project* we can use jitpack.io to get binaries:

buildscript { repositories { jcenter() maven { url 'https://jitpack.io' } } dependencies { classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.github.JakeWharton:sdk-manager-plugin:0ce4cdf08009d79223850a59959d9d6e774d0f77' } }

Where 0ce4cdf08009d79223850a59959d9d6e774d0f77 is the HEAD commit SHA. It's even better then -SNAPSHOT releases because we can fix source state by commit.

  • See what I did here with Moshi

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

mikeholler commented 9 years ago

Wow @plastiv! I've never heard of Jitpack before but what a great idea!

jaredsburrows commented 9 years ago

@plastiv +1