From 553deceb98c7cd2da0220c660af200de647b8f78 Mon Sep 17 00:00:00 2001 From: Hai Zhang Date: Mon, 14 Jun 2021 10:18:52 -0700 Subject: [PATCH] [Fix] Fix version when publishing. --- gradle.properties | 2 +- library/build.gradle | 2 +- sample/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 1e0a6e8..38ff505 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ android.enableJetifier=true android.useAndroidX=true GROUP=me.zhanghai.android.linenoise -VERSION=1.0.1 +VERSION_NAME=1.0.1 VERSION_CODE=2 POM_DESCRIPTION=Linenoise for Android diff --git a/library/build.gradle b/library/build.gradle index fb36094..dd868da 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -8,7 +8,7 @@ android { minSdkVersion 21 targetSdkVersion 30 versionCode Integer.parseInt(VERSION_CODE) - versionName VERSION + versionName VERSION_NAME consumerProguardFiles 'proguard-rules.pro' } compileOptions { diff --git a/sample/build.gradle b/sample/build.gradle index 2849317..8d98a2d 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -8,7 +8,7 @@ android { minSdkVersion 21 targetSdkVersion 30 versionCode Integer.parseInt(VERSION_CODE) - versionName VERSION + versionName VERSION_NAME } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8