diff --git a/app/build.gradle b/app/build.gradle index aefeb9b..e17c663 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "com.xsir.pgyerappupdate" minSdkVersion versions.minSdkVersion targetSdkVersion versions.targetSdkVersion - versionCode 12 - versionName "1.9.2" + versionCode 13 + versionName "1.9.3" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } @@ -91,7 +91,7 @@ def readProperties(key) { } static def getUpdateDescription() { - return '适配 Android P;\n2.修复一些bug;\n3.提升用户体验!' + return '使用okhttp3作为网络请求;\n2.修复一些bug;\n3.提升用户体验!' } task("uploadApk") { diff --git a/build.gradle b/build.gradle index 72325b6..f59ac45 100644 --- a/build.gradle +++ b/build.gradle @@ -7,9 +7,6 @@ buildscript { 'targetSdkVersion' : 28, 'supportLibrary' : '28.0.0', - - 'libReleaseCode' : 18, - 'libReleaseName' : '0.9.9' ] repositories { diff --git a/library/build.gradle b/library/build.gradle index 1695b0f..063edf6 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -6,8 +6,8 @@ android { defaultConfig { minSdkVersion versions.minSdkVersion targetSdkVersion versions.targetSdkVersion - versionCode versions.libReleaseCode - versionName versions.libReleaseName + versionCode 19 + versionName '1.0.0' testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } @@ -58,12 +58,19 @@ artifacts { archives sourcesJar } +def releaseVersion = '1.0.0' + publish { - repoName = 'PgyerAndroidAppUpdate' // bintray 仓库名 - userOrg = 'xinpengfei520' // bintray 注册的用户名 - groupId = 'com.xsir' // compile 引用时的第 1 部分 groupId - artifactId = 'PgyerAndroidAppUpdate' // compile 引用时的第 2 部分项目名 - publishVersion = versions.libReleaseName // compile引用时的第3部分版本号 + // bintray 仓库名 + repoName = 'PgyerAndroidAppUpdate' + // bintray 注册的用户名 + userOrg = 'xinpengfei520' + // implementation 引用时的第 1 部分 groupId + groupId = 'com.xsir' + // implementation 引用时的第 2 部分项目名 + artifactId = 'PgyerAndroidAppUpdate' + // implementation 引用时的第 3 部分版本号 + publishVersion = releaseVersion desc = 'update android app by pgyer app store.' website = 'https://github.com/xinpengfei520/pgyer-android-app-update' }