NoNonsense-FilePicker/library/build.gradle

55 lines
1.7 KiB
Groovy

apply plugin: 'com.android.library'
/*
* Copyright (c) 2015 Jonas Kalderstam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// must be applied after your artifact generating plugin (eg. java /
// com.android.library)
apply plugin: 'bintray-release'
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:support-v4:23.0.0'
compile 'com.android.support:recyclerview-v7:23.0.0'
testCompile 'junit:junit:4.12'
}
publish {
groupId = GROUP
artifactId = POM_ARTIFACT_ID
publishVersion = VERSION_NAME
description = POM_DESCRIPTION
website = POM_URL
licences = ['LGPL-3.0']
uploadName = PROJECT_NAME
bintrayUser = project.hasProperty("BINTRAY_USER")? BINTRAY_USER: "Dummy"
bintrayKey = project.hasProperty("BINTRAY_KEY") ? BINTRAY_KEY: "Dummy"
}