Update build configuration
This commit is contained in:
parent
70b5b103f3
commit
dbde1c4ed8
@ -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
|
||||
|
@ -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'
|
||||
}
|
@ -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'
|
||||
}
|
@ -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'
|
||||
}
|
||||
|
@ -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'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user