Commit 7d2c314c authored by Max Lv's avatar Max Lv

Bump version

parent f2d96a0a
...@@ -12,8 +12,8 @@ buildscript { ...@@ -12,8 +12,8 @@ buildscript {
junitVersion = '4.12' junitVersion = '4.12'
androidTestVersion = '1.2.0' androidTestVersion = '1.2.0'
androidEspressoVersion = '3.2.0' androidEspressoVersion = '3.2.0'
versionCode = 4080050 versionCode = 4080150
versionName = '4.8.0-nightly' versionName = '4.8.1-nightly'
resConfigs = ['es', 'fa', 'fr', 'ja', 'ko', 'ru', 'tr', 'zh-rCN', 'zh-rTW'] resConfigs = ['es', 'fa', 'fr', 'ja', 'ko', 'ru', 'tr', 'zh-rCN', 'zh-rTW']
} }
......
...@@ -3,16 +3,6 @@ apply plugin: 'kotlin-android' ...@@ -3,16 +3,6 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.vanniktech.maven.publish' apply plugin: 'com.vanniktech.maven.publish'
@SuppressWarnings("GroovyUnusedDeclaration")
def getRepositoryUsername() {
return hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ""
}
@SuppressWarnings("GroovyUnusedDeclaration")
def getRepositoryPassword() {
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
}
android { android {
compileSdkVersion rootProject.compileSdkVersion compileSdkVersion rootProject.compileSdkVersion
...@@ -46,8 +36,8 @@ mavenPublish { ...@@ -46,8 +36,8 @@ mavenPublish {
uploadArchives { uploadArchives {
releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/" snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
repositoryUsername = getRepositoryUsername() repositoryUsername = NEXUS_USERNAME
repositoryPassword = getRepositoryPassword() repositoryPassword = NEXUS_PASSWORD
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment