Skip to content

Commit

Permalink
Bumping version in attempt to fix wrong targetSdk in Google Play
Browse files Browse the repository at this point in the history
  • Loading branch information
Faltenreich committed Aug 18, 2023
1 parent ca816a8 commit d4967ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

<img src="./resource/image/marketing/showcase.png" width="750">
Expand Down
12 changes: 6 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -27,7 +27,7 @@ android {
}
}

flavorDimensions "version"
flavorDimensions += "version"
productFlavors {
demo {
applicationId "com.faltenreich.diaguard"
Expand Down Expand Up @@ -58,7 +58,7 @@ android {
}
}

tasks.withType(Test) {
tasks.withType(Test).configureEach {
testLogging {
exceptionFormat = 'full'
}
Expand Down Expand Up @@ -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")
Expand All @@ -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
Expand Down

0 comments on commit d4967ed

Please sign in to comment.