diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 255450389..ae92e321f 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -20,11 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 - name: Verify Changed files in docs - uses: tj-actions/verify-changed-files@v7.1 + uses: tj-actions/verify-changed-files@v13.1 id: verify-changed-files with: files: | @@ -50,10 +50,10 @@ jobs: if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} with: limit-access-to-actor: true - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - uses: gradle/wrapper-validation-action@v1 - name: install-java8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: 11 distribution: temurin @@ -86,7 +86,7 @@ jobs: name: junit-test-results path: '**/build/test-results/test/TEST-*.xml' retention-days: 1 - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 with: #files: ./coverage1.xml,./coverage2.xml # optional flags: ${{ runner.os }} # optional @@ -94,7 +94,7 @@ jobs: verbose: true # optional (default = false) - name: build-choco-package if: runner.os == 'Windows' - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: '2.2.204' # SDK Version to use. - name: build-choco @@ -103,13 +103,13 @@ jobs: powershell choco pack build/choco/jbang.nuspec - name: Archive build results - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 if: always() with: name: ${{ runner.os }}-build-${{ github.sha }} path: build - name: Upload jbang.zip - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 if: always() && runner.os != 'Windows' with: name: jbang-${{ github.sha }} @@ -125,11 +125,11 @@ jobs: java: [8,11,17,19] runs-on: ${{ matrix.os }} steps: - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ matrix.java }} - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: ${{ runner.os }}-build-${{ github.sha }} path: build diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 63608f54b..a2b88d10e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/install-tests.yml b/.github/workflows/install-tests.yml index 489097770..6849c9a3a 100644 --- a/.github/workflows/install-tests.yml +++ b/.github/workflows/install-tests.yml @@ -6,7 +6,7 @@ jobs: macos: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Remove Java run: | sudo rm -rf /Library/Java/* diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index be0336b9f..48ac9a4a4 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -21,9 +21,9 @@ jobs: JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} JRELEASER_VERSION: 0.9.0 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: install-java11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 - name: build-gradle @@ -43,7 +43,7 @@ jobs: arguments: publish - name: JReleaser output if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: jreleaser-publish path: | @@ -65,14 +65,14 @@ jobs: arguments: announce - name: JReleaser output if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: jreleaser-announce path: | out/jreleaser/trace.log out/jreleaser/output.properties - name: upload-choco - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: build-choco path: build/choco @@ -82,11 +82,11 @@ jobs: name: publish-choco continue-on-error: true steps: - - uses: actions/download-artifact@v1 + - uses: actions/download-artifact@v3 with: name: build-choco path: build/choco - - uses: actions/setup-dotnet@v1 + - uses: actions/setup-dotnet@v3 with: dotnet-version: '2.2.204' # SDK Version to use. - name: choco-build diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index ac5b0b7d8..b6ddd7d59 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -21,15 +21,15 @@ jobs: JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} JRELEASER_VERSION: 0.9.0 steps: - - uses: actions/checkout@v1 - - uses: actions/cache@v1 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} restore-keys: | ${{ runner.os }}-gradle- - name: install-java11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 - name: build-gradle diff --git a/build.gradle b/build.gradle index 6e04bcb37..2b09d26a6 100644 --- a/build.gradle +++ b/build.gradle @@ -2,18 +2,18 @@ import org.gradle.crypto.checksum.Checksum plugins { id "distribution" - id "com.github.johnrengelman.shadow" version "6.1.0" + id "com.github.johnrengelman.shadow" version "8.1.0" id "java" - id "com.github.breadmoirai.github-release" version "2.2.12" - id "io.toolebox.git-versioner" version "1.6.4" - id 'org.gradle.crypto.checksum' version '1.1.0' - id "com.diffplug.spotless" version "6.12.1" + id "com.github.breadmoirai.github-release" version "2.4.1" + id "io.toolebox.git-versioner" version "1.6.7" + id 'org.gradle.crypto.checksum' version '1.4.0' + id "com.diffplug.spotless" version "6.16.0" id 'com.github.gmazzo.buildconfig' version "3.1.0" - id "com.dorongold.task-tree" version "1.5" + id "com.dorongold.task-tree" version "2.1.1" id "com.geoffgranum.gradle-conventional-changelog" version "0.3.1" id "org.asciidoctor.jvm.convert" version "3.3.2" - id "org.ajoberstar.grgit" version "4.1.1" - id "org.sonarqube" version "3.1.1" + id "org.ajoberstar.grgit" version "5.0.0" + id "org.sonarqube" version "4.0.0.2929" id 'jacoco' } @@ -35,35 +35,35 @@ sourceSets.main.compileClasspath += sourceSets.java9.output.classesDirs; dependencies { implementation 'com.offbytwo:docopt:0.6.0.20150202' - implementation 'org.apache.commons:commons-text:1.9' - implementation 'org.apache.commons:commons-compress:1.20' - implementation 'info.picocli:picocli:4.6.3' - implementation 'io.quarkus.qute:qute-core:1.12.2.Final' + implementation 'org.apache.commons:commons-text:1.10.0' + implementation 'org.apache.commons:commons-compress:1.22' + implementation 'info.picocli:picocli:4.7.1' + implementation 'io.quarkus.qute:qute-core:2.16.4.Final' implementation 'kr.motd.maven:os-maven-plugin:1.7.1' - implementation 'org.codehaus.plexus:plexus-java:1.0.6' - implementation 'com.google.code.gson:gson:2.9.0' - implementation 'org.jsoup:jsoup:1.13.1' - implementation 'org.codejive:java-properties:0.0.5' - - implementation "org.slf4j:slf4j-nop:1.7.30" - implementation "org.jboss:jandex:2.2.3.Final" - - implementation "org.apache.maven:maven-model:3.8.6" - implementation "org.apache.maven:maven-settings:3.8.6" - implementation "org.apache.maven:maven-settings-builder:3.8.6" - implementation "org.apache.maven:maven-resolver-provider:3.8.6" - implementation "org.apache.maven.resolver:maven-resolver-api:1.8.2" - implementation "org.apache.maven.resolver:maven-resolver-spi:1.8.2" - implementation "org.apache.maven.resolver:maven-resolver-impl:1.8.2" - implementation "org.apache.maven.resolver:maven-resolver-connector-basic:1.8.2" - implementation "org.apache.maven.resolver:maven-resolver-transport-file:1.8.2" - implementation "org.apache.maven.resolver:maven-resolver-transport-http:1.8.2" - - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.0" - testImplementation "org.junit.jupiter:junit-jupiter:5.9.0" - testImplementation "com.github.stefanbirkner:system-rules:1.17.2" + implementation 'org.codehaus.plexus:plexus-java:1.1.2' + implementation 'com.google.code.gson:gson:2.10.1' + implementation 'org.jsoup:jsoup:1.15.4' + implementation 'org.codejive:java-properties:0.0.6' + + implementation "org.slf4j:slf4j-nop:2.0.6" + implementation "org.jboss:jandex:3.0.5" + + implementation "org.apache.maven:maven-model:3.9.0" + implementation "org.apache.maven:maven-settings:3.9.0" + implementation "org.apache.maven:maven-settings-builder:3.9.0" + implementation "org.apache.maven:maven-resolver-provider:3.9.0" + implementation "org.apache.maven.resolver:maven-resolver-api:1.9.5" + implementation "org.apache.maven.resolver:maven-resolver-spi:1.9.5" + implementation "org.apache.maven.resolver:maven-resolver-impl:1.9.5" + implementation "org.apache.maven.resolver:maven-resolver-connector-basic:1.9.5" + implementation "org.apache.maven.resolver:maven-resolver-transport-file:1.9.5" + implementation "org.apache.maven.resolver:maven-resolver-transport-http:1.9.5" + + testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.2" + testImplementation "org.junit.jupiter:junit-jupiter:5.9.2" + testImplementation "com.github.stefanbirkner:system-rules:1.19.0" testImplementation "org.hamcrest:hamcrest-library:2.2" - testImplementation "com.github.tomakehurst:wiremock-jre8:2.32.0" + testImplementation "com.github.tomakehurst:wiremock-jre8:2.35.0" //testImplementation 'com.github.maxandersen.karate:karate-junit:19e06766' //testImplementation 'com.github.maxandersen.karate:karate-apache:19e06766' @@ -213,7 +213,7 @@ test { } jacoco { - toolVersion = '0.8.7' + toolVersion = '0.8.8' } jacocoTestReport { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ae04661ee..f72df95a7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/settings.gradle b/settings.gradle index b3b191865..3a4cdd9e1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,6 +1,6 @@ pluginManagement { plugins { - id "com.gradle.enterprise" version "3.7.2" + id "com.gradle.enterprise" version "3.12.4" } }