Skip to content

Commit 361f3e7

Browse files
Ian CraggsGerrit Code Review @ Eclipse.org
authored andcommitted
Merge "Allowing build to publish APK to eclipse FTP site Signed-off-by: James Sutton <james.sutton@uk.ibm.com> Change-Id: Ie8964390503a3ca4321e7adb60ff6b24b13ca790" into develop
2 parents bde8103 + 3710d36 commit 361f3e7

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

  • org.eclipse.paho.android.service/org.eclipse.paho.android.sample

org.eclipse.paho.android.service/org.eclipse.paho.android.sample/build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
apply plugin: 'android-sdk-manager'
22
apply plugin: 'com.android.application'
33

4+
archivesBaseName = "org.eclipse.paho.android.sample"
5+
version = "1.0.3"
6+
47
android {
58
compileSdkVersion 22
69
buildToolsVersion "22.0.1"
@@ -34,16 +37,17 @@ dependencies {
3437
compile('com.android.support:recyclerview-v7:22.2.+') {
3538
exclude module: 'support-v4'
3639
}
37-
3840
compile('org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.3-SNAPSHOT') {
3941
// exclude module: 'support-v4'
4042
}
41-
4243
compile('org.eclipse.paho:org.eclipse.paho.android.service:1.0.3-SNAPSHOT') {
4344
exclude module: 'support-v4'
4445
}
4546
}
4647

47-
48+
task publishAPK(type:Copy) {
49+
from file("${project.buildDir}/outputs/apk/" + archivesBaseName + "-debug.apk");
50+
into '/shared/technology/paho/Android/' + version + '/debug/';
51+
}
4852

4953

0 commit comments

Comments
 (0)