diff options
Diffstat (limited to 'sshlib/build.gradle')
-rw-r--r-- | sshlib/build.gradle | 45 |
1 files changed, 39 insertions, 6 deletions
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() + } +} |