From d4967edeeddbddc1a3a55e5ca2de56530d52a4e5 Mon Sep 17 00:00:00 2001 From: Philipp Fahlteich Date: Fri, 18 Aug 2023 19:04:01 +0200 Subject: [PATCH] Bumping version in attempt to fix wrong targetSdk in Google Play --- README.md | 2 +- app/build.gradle | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f7c1bafe4..e40abaae5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Diaguard -[![version](https://img.shields.io/badge/Release-3.11.0-478063.svg)](https://github.com/Faltenreich/Diaguard/releases) +[![version](https://img.shields.io/badge/Release-3.11.1-478063.svg)](https://github.com/Faltenreich/Diaguard/releases) [![pipeline](https://github.com/Faltenreich/Diaguard/actions/workflows/android.yml/badge.svg)](https://github.com/Faltenreich/Diaguard/actions/workflows/android.yml) diff --git a/app/build.gradle b/app/build.gradle index 516d1125b..5374a24b1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { defaultConfig { minSdk 16 targetSdk 33 - versionCode 57 - versionName "3.11.0" + versionCode 58 + versionName "3.11.1" vectorDrawables.useSupportLibrary true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -27,7 +27,7 @@ android { } } - flavorDimensions "version" + flavorDimensions += "version" productFlavors { demo { applicationId "com.faltenreich.diaguard" @@ -58,7 +58,7 @@ android { } } -tasks.withType(Test) { +tasks.withType(Test).configureEach { testLogging { exceptionFormat = 'full' } @@ -122,7 +122,7 @@ dependencies { implementation 'com.code-troopers.betterpickers:library:3.1.0' } -task applyVersionToReadme() { +tasks.register('applyVersionToReadme') { def string = 'img.shields.io/badge/Release-' def regex = "$string([0-9.]+)" def android = project.extensions.findByName("android") @@ -131,7 +131,7 @@ task applyVersionToReadme() { ant.replaceregexp(file: "${rootProject.projectDir}/README.md", match: regex, flags: 'g', replace: with) } -task applyDateToReadme() { +tasks.register('applyDateToReadme') { def string = '2013-' def regex = "$string([0-9.]+)" int year = new Date().getYear() + 1900