From 055208a32cbec1585a6066a340a9ffac0296fdbf Mon Sep 17 00:00:00 2001 From: hsm Date: Sun, 29 May 2016 17:14:36 +0100 Subject: local build changes --- sshlib/build.gradle | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) (limited to 'sshlib') diff --git a/sshlib/build.gradle b/sshlib/build.gradle index 976cdde..79fc7b1 100644 --- a/sshlib/build.gradle +++ b/sshlib/build.gradle @@ -1,16 +1,49 @@ -plugins { - id 'com.jfrog.artifactory' version '4.0.0' - id 'com.jfrog.bintray' version '1.6' -} +apply plugin: 'com.android.library' +apply plugin: 'bintray-release' // must be applied after your artifact generating plugin (eg. java / com.android.library) +apply plugin: 'maven' -apply plugin: 'java' -apply from: "${rootDir}/publish.gradle" +group = 'org.connectbot' +version = '2.2.5-SNAPSHOT-JMM' dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.jcraft:jzlib:1.1.3' compile 'org.connectbot:simplesocks:1.0.1' compile 'net.vrallev.ecc:ecc-25519-java:1.0.3' + //compile 'org.sufficientlysecure:openkeychain-intents:3.0-JMM' + compile 'org.sufficientlysecure:openpgp-api:11.0-JMM@aar' testCompile 'junit:junit:4.12' } + +android { + compileSdkVersion 22 + buildToolsVersion '21.1.2' + + defaultConfig { + minSdkVersion 9 + targetSdkVersion 22 + versionName '2.2.5-SNAPSHOT-JMM' + } + + // Do not abort build if lint finds errors + lintOptions { + abortOnError false + } +} + +publish { + userOrg = 'connectbot' + groupId = 'org.connectbot' + artifactId = 'sshlib' + version = '2.2.5-SNAPSHOT-JMM' + description = 'meh' + website = 'http://meh'; +} + + +uploadArchives { + repositories { + mavenLocal() + } +} -- cgit v1.2.3