Update build configuration

This commit is contained in:
Dimitry Ivanov 2018-07-30 12:36:58 +03:00
parent 70b5b103f3
commit dbde1c4ed8
5 changed files with 23 additions and 7 deletions

View File

@ -6,7 +6,7 @@ org.gradle.configureondemand=true
android.enableBuildCache=true
android.buildCacheDir=build/pre-dex-cache
VERSION_NAME=1.1.0-SNAPSHOT
VERSION_NAME=1.1.0
GROUP=ru.noties
POM_DESCRIPTION=Markwon

View File

@ -29,6 +29,10 @@ afterEvaluate {
generateReleaseBuildConfig.enabled = false
}
if (project.hasProperty('release')) {
if (hasProperty('release')) {
if (hasProperty('local')) {
ext.RELEASE_REPOSITORY_URL = LOCAL_MAVEN_URL
ext.SNAPSHOT_REPOSITORY_URL = LOCAL_MAVEN_URL
}
apply from: 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
}

View File

@ -23,6 +23,10 @@ afterEvaluate {
generateReleaseBuildConfig.enabled = false
}
if (project.hasProperty('release')) {
if (hasProperty('release')) {
if (hasProperty('local')) {
ext.RELEASE_REPOSITORY_URL = LOCAL_MAVEN_URL
ext.SNAPSHOT_REPOSITORY_URL = LOCAL_MAVEN_URL
}
apply from: 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
}

View File

@ -22,6 +22,10 @@ afterEvaluate {
generateReleaseBuildConfig.enabled = false
}
if (project.hasProperty('release')) {
if (hasProperty('release')) {
if (hasProperty('local')) {
ext.RELEASE_REPOSITORY_URL = LOCAL_MAVEN_URL
ext.SNAPSHOT_REPOSITORY_URL = LOCAL_MAVEN_URL
}
apply from: 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
}

View File

@ -24,6 +24,10 @@ afterEvaluate {
generateReleaseBuildConfig.enabled = false
}
if (project.hasProperty('release')) {
if (hasProperty('release')) {
if (hasProperty('local')) {
ext.RELEASE_REPOSITORY_URL = LOCAL_MAVEN_URL
ext.SNAPSHOT_REPOSITORY_URL = LOCAL_MAVEN_URL
}
apply from: 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
}