From 7d2c314c97db0d4d4b3a6c694c6b5b444f9b9c9c Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 23 Jun 2019 12:22:43 +0800 Subject: [PATCH] Bump version --- build.gradle | 4 ++-- plugin/build.gradle | 14 ++------------ 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index bc07483b75..ef1fd841f5 100644 --- a/build.gradle +++ b/build.gradle @@ -12,8 +12,8 @@ buildscript { junitVersion = '4.12' androidTestVersion = '1.2.0' androidEspressoVersion = '3.2.0' - versionCode = 4080050 - versionName = '4.8.0-nightly' + versionCode = 4080150 + versionName = '4.8.1-nightly' resConfigs = ['es', 'fa', 'fr', 'ja', 'ko', 'ru', 'tr', 'zh-rCN', 'zh-rTW'] } diff --git a/plugin/build.gradle b/plugin/build.gradle index 52acc3f868..848eec743f 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -3,16 +3,6 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' 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 { compileSdkVersion rootProject.compileSdkVersion @@ -46,8 +36,8 @@ mavenPublish { uploadArchives { releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/" - repositoryUsername = getRepositoryUsername() - repositoryPassword = getRepositoryPassword() + repositoryUsername = NEXUS_USERNAME + repositoryPassword = NEXUS_PASSWORD } } }