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' 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() } }