From d8617949c15ce3e6f720f84321693104ee81b693 Mon Sep 17 00:00:00 2001 From: Guillermo Calvo Date: Tue, 8 Oct 2024 20:22:27 +0200 Subject: [PATCH] Bump japicmp to version 0.4.4 --- .github/workflows/build.yml | 14 +------------- api-compatibility/build.gradle | 2 ++ docs/semver-0.0.0.json | 9 --------- docs/semver-0.0.1.json | 9 --------- docs/semver-0.1.0.json | 9 --------- docs/semver-1.0.0.json | 9 --------- gradle/libs.versions.toml | 2 +- 7 files changed, 4 insertions(+), 50 deletions(-) delete mode 100644 docs/semver-0.0.0.json delete mode 100644 docs/semver-0.0.1.json delete mode 100644 docs/semver-0.1.0.json delete mode 100644 docs/semver-1.0.0.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0b18d8..e7a03c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -96,25 +96,13 @@ jobs: - name: Check run: ./gradlew check - # ================================ - # SEMANTIC VERSIONING - # ================================ - - name: Semantic versioning - if: ${{ env.is_latest_jdk }} - run: | - SEMVER=`cat ./api-compatibility/build/semver.txt` - BADGE="https://dev.leakyabstractions.com/result/semver-${SEMVER}.json" - URL="https://img.shields.io/endpoint?url=$BADGE" - echo "## Compatibility Report" >> $GITHUB_STEP_SUMMARY - echo "![Semantic Versioning]($URL)" >> $GITHUB_STEP_SUMMARY - # ================================ # COMPATIBILITY REPORT # ================================ - name: Compatibility with version ${{ steps.properties.outputs.previousVersion }} if: ${{ env.is_latest_jdk }} # $GITHUB_STEP_SUMMARY supports content up to a size of 1024k - run: head -c 1MiB ./api-compatibility/build/report.txt >> $GITHUB_STEP_SUMMARY + run: head -c 1MiB ./api-compatibility/build/report.md >> $GITHUB_STEP_SUMMARY # ================================ # CACHE SONARCLOUD PACKAGES diff --git a/api-compatibility/build.gradle b/api-compatibility/build.gradle index a38684e..acf98a9 100644 --- a/api-compatibility/build.gradle +++ b/api-compatibility/build.gradle @@ -25,11 +25,13 @@ tasks.register("check", me.champeau.gradle.japicmp.JapicmpTask) { final semverReport= layout.buildDirectory.file('semver.txt').get().asFile final textReport = layout.buildDirectory.file('report.txt').get().asFile final htmlReport = layout.buildDirectory.file('report.html').get().asFile + final mdReport = layout.buildDirectory.file('report.md').get().asFile newClasspath.from(configurations.current) oldClasspath.from(configurations.previous) semverOutputFile = semverReport txtOutputFile = textReport htmlOutputFile = htmlReport + mdOutputFile = mdReport onlyModified = true failOnModification = false failOnSourceIncompatibility = false diff --git a/docs/semver-0.0.0.json b/docs/semver-0.0.0.json deleted file mode 100644 index 9846f72..0000000 --- a/docs/semver-0.0.0.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "schemaVersion": 1, - "style": "for-the-badge", - "labelColor": "gray", - "color": "green", - "label": "semver", - "message": "OK", - "namedLogo": "semver" -} diff --git a/docs/semver-0.0.1.json b/docs/semver-0.0.1.json deleted file mode 100644 index da19c20..0000000 --- a/docs/semver-0.0.1.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "schemaVersion": 1, - "style": "for-the-badge", - "labelColor": "gray", - "color": "yellow", - "label": "semver", - "message": "PATCH", - "namedLogo": "semver" -} diff --git a/docs/semver-0.1.0.json b/docs/semver-0.1.0.json deleted file mode 100644 index ef8d9d5..0000000 --- a/docs/semver-0.1.0.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "schemaVersion": 1, - "style": "for-the-badge", - "labelColor": "gray", - "color": "orange", - "label": "semver", - "message": "MINOR", - "namedLogo": "semver" -} diff --git a/docs/semver-1.0.0.json b/docs/semver-1.0.0.json deleted file mode 100644 index f470b8c..0000000 --- a/docs/semver-1.0.0.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "schemaVersion": 1, - "style": "for-the-badge", - "labelColor": "gray", - "color": "red", - "label": "semver", - "message": "MAJOR", - "namedLogo": "semver" -} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 369f27a..c1be46c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ assertj = "3.26.3" google-java-format = "1.19.2" jacoco = "0.8.10" -japicmp = "0.4.3" +japicmp = "0.4.4" junit = "5.11.0" nexus-publish = "2.0.0" result-api = "1.0.0.0"