mirror of
https://github.com/eclipse/paho.mqtt.android.git
synced 2025-05-09 02:41:15 +08:00
Bug: 474722 - Adding android-sdk-manager plugin to gradle build.
Allows builds to be run without having to download and prepare the android sdk first Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
This commit is contained in:
parent
01387501b7
commit
0cbb916896
@ -6,6 +6,7 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:1.2.3'
|
||||
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
apply plugin: 'android-sdk-manager'
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
|
@ -1,5 +1,8 @@
|
||||
apply plugin: 'android-sdk-manager'
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
|
||||
|
||||
android {
|
||||
compileSdkVersion 19
|
||||
buildToolsVersion "22.0.1"
|
||||
@ -51,4 +54,4 @@ task exportJar(type: Copy) {
|
||||
rename('classes.jar', 'org.eclipse.paho.android.service.jar')
|
||||
}
|
||||
|
||||
exportJar.dependsOn(deleteOldJar, build)
|
||||
exportJar.dependsOn(deleteOldJar, build)
|
||||
|
Loading…
x
Reference in New Issue
Block a user