From 6cf3a1b8195c4a975a2b4c81dcfafb636d29b0a5 Mon Sep 17 00:00:00 2001 From: alan3058 <361225485@qq.com> Date: Fri, 5 Jan 2018 18:58:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E5=B8=83=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 ++ deploy.gradle | 4 ++-- gradle.properties | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 8b39042..d5e7d78 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,8 @@ plugins { id 'java' } +apply from: 'deploy.gradle' + repositories { maven{ url "http://maven.aliyun.com/nexus/content/groups/public" diff --git a/deploy.gradle b/deploy.gradle index 3edbdb7..ad38ec4 100644 --- a/deploy.gradle +++ b/deploy.gradle @@ -1,8 +1,8 @@ -apply from: 'build.gradle' - apply plugin: 'maven' apply plugin: 'signing' + + def isReleaseBuild() { return VERSION_NAME.contains("SNAPSHOT") == false } diff --git a/gradle.properties b/gradle.properties index 28487d8..a271808 100644 --- a/gradle.properties +++ b/gradle.properties @@ -28,4 +28,3 @@ VERSION_CODE=1 #signing.password=xxxx #signing.secretKeyRingFile=C:/Users/dell/AppData/Roaming/gnupg/secring.gpg #MAVEN_USERNAME=xxx -#MAVEN_PASSWORD=xxxx