diff --git a/gradle.properties b/gradle.properties index 0d3c67d..f63ef9d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,8 +23,3 @@ POM_URL_ISSUES=https://github.com/spacecowboy/NoNonsense-FilePicker/issues ANDROID_BUILD_TARGET_SDK_VERSION=21 ANDROID_BUILD_TOOLS_VERSION=22.0.1 ANDROID_BUILD_SDK_VERSION=21 - - -# Stubs -BINTRAY_USER=stub -BINTRAY_KEY=stub diff --git a/library/build.gradle b/library/build.gradle index 9d08705..d137785 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -29,7 +29,6 @@ dependencies { compile 'com.android.support:recyclerview-v7:22.1.1' } - publish { groupId = GROUP artifactId = POM_ARTIFACT_ID @@ -38,7 +37,6 @@ publish { website = POM_URL licences = ['LGPL-3.0'] uploadName = PROJECT_NAME - bintrayUser = BINTRAY_USER - bintrayKey = BINTRAY_KEY + bintrayUser = project.hasProperty("BINTRAY_USER")? BINTRAY_USER: "Dummy" + bintrayKey = project.hasProperty("BINTRAY_KEY") ? BINTRAY_KEY: "Dummy" } -