From a5b499f91d220800384775779dcd2c341ebccc59 Mon Sep 17 00:00:00 2001 From: Thomas Wirth Date: Tue, 13 Oct 2020 14:29:05 +0200 Subject: [PATCH 1/3] Explicitly set java compile target to 1.8 --- versioncompare/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/versioncompare/build.gradle b/versioncompare/build.gradle index 769ee1b..60a773f 100644 --- a/versioncompare/build.gradle +++ b/versioncompare/build.gradle @@ -8,6 +8,11 @@ dependencies { testImplementation 'nl.jqno.equalsverifier:equalsverifier:3.4.3' } +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + jacoco { toolVersion = '0.8.5' } From 08c401bde0afe8e194f33fcbd82e1407098c0c8e Mon Sep 17 00:00:00 2001 From: Thomas Wirth Date: Tue, 13 Oct 2020 14:35:05 +0200 Subject: [PATCH 2/3] Update junit and jacoco --- versioncompare/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versioncompare/build.gradle b/versioncompare/build.gradle index 60a773f..d1b8f67 100644 --- a/versioncompare/build.gradle +++ b/versioncompare/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'jacoco' dependencies { compileOnly 'com.google.code.findbugs:jsr305:3.0.2' // only required at compile time - testImplementation 'junit:junit:4.13' + testImplementation 'junit:junit:4.13.1' testImplementation 'nl.jqno.equalsverifier:equalsverifier:3.4.3' } @@ -14,7 +14,7 @@ java { } jacoco { - toolVersion = '0.8.5' + toolVersion = '0.8.6' } jacocoTestReport { From 709457a12e5e5df8472187a3b8c721a0c3cfb658 Mon Sep 17 00:00:00 2001 From: Thomas Wirth Date: Tue, 13 Oct 2020 14:35:16 +0200 Subject: [PATCH 3/3] Bump version --- README.md | 6 +++--- versioncompare/deploy.gradle | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 082f194..90994db 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Pure Java (java.util), no dependencies, very small method count. **Gradle:** ``` dependencies { - implementation 'com.g00fy2:versioncompare:1.3.6' + implementation 'com.g00fy2:versioncompare:1.3.7' } ``` **Maven:** @@ -20,7 +20,7 @@ dependencies { com.g00fy2 versioncompare - 1.3.6 + 1.3.7 ``` @@ -89,7 +89,7 @@ suffix compare logic || ## Sample App ![Image](https://raw.githubusercontent.com/G00fY2/version-compare/gh-pages/images/version_compare_sampleapp_framed.png) -**Try out the sample app to compare your version inputs: [Download APK](https://github.com/G00fY2/version-compare/releases/download/1.3.6/version-compare-1.3.6-sample.apk)** +**Try out the sample app to compare your version inputs: [Download APK](https://github.com/G00fY2/version-compare/releases/download/1.3.7/version-compare-1.3.7-sample.apk)** ## License Copyright (C) 2018 Thomas Wirth diff --git a/versioncompare/deploy.gradle b/versioncompare/deploy.gradle index 70bcfbc..ab188eb 100644 --- a/versioncompare/deploy.gradle +++ b/versioncompare/deploy.gradle @@ -11,7 +11,7 @@ ext { issueUrl = 'https://github.com/G00fY2/version-compare/issues' gitUrl = 'https://github.com/G00fY2/version-compare.git' - libraryVersion = '1.3.6' + libraryVersion = '1.3.7' developerId = 'g00fy2' developerName = 'Thomas Wirth'