Files
open-keychain/sshauthentication-api/build.gradle

48 lines
1.3 KiB
Groovy
Raw Normal View History

2017-10-05 00:00:00 +00:00
apply plugin: 'com.android.library'
apply plugin: 'bintray-release' // must be applied after your artifact generating plugin (eg. java / com.android.library)
2017-10-05 00:00:00 +00:00
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
2018-01-20 23:59:41 +01:00
classpath 'com.novoda:bintray-release:0.8.0'
2017-10-05 00:00:00 +00:00
}
}
android {
if (project.hasProperty('rootProject.ext.compileSdkVersion')) {
compileSdkVersion rootProject.ext.compileSdkVersion
} else {
2018-01-21 03:21:35 +01:00
compileSdkVersion 27
2017-10-05 00:00:00 +00:00
}
if (project.hasProperty('rootProject.ext.buildToolsVersion')) {
buildToolsVersion rootProject.ext.buildToolsVersion
} else {
2018-01-20 23:59:41 +01:00
buildToolsVersion '27.0.3'
2017-10-05 00:00:00 +00:00
}
2018-01-20 23:59:41 +01:00
2017-10-05 00:00:00 +00:00
defaultConfig {
minSdkVersion 9
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
// Do not abort build if lint finds errors
lintOptions {
abortOnError false
}
}
publish {
userOrg = 'sufficientlysecure'
groupId = 'org.sufficientlysecure'
artifactId = 'sshauthentication-api'
version = '1.0'
description = 'The SSH authentication API library provides an interface to using an external authentication provider, such as OpenKeychain, in the SSH authentication layer.'
website = 'https://github.com/open-keychain/open-keychain'
}