diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffae5c4..018592c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,10 +33,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 1.8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '8' @@ -45,4 +45,7 @@ jobs: run: ./gradlew build - name: Codecov upload - run: bash <(curl -s https://codecov.io/bash) + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e70454d..0b26222 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate versions uses: HardNorth/github-version-generate@v1 @@ -48,7 +48,7 @@ jobs: version-file-extraction-pattern: ${{ env.VERSION_EXTRACT_PATTERN }} - name: Set up JDK 1.8 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '8' @@ -105,7 +105,7 @@ jobs: body: ${{ steps.readChangelogEntry.outputs.changes }} - name: Checkout develop branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'develop' fetch-depth: 0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 75250a5..9ae1b0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## [Unreleased] +### Changed +- Client version updated on [5.2.7](https://github.com/reportportal/client-java/releases/tag/5.2.7), by @HardNorth +- Client and JSR 305 dependencies marked as `compileOnly`, by @HardNorth ## [5.2.1] ### Changed diff --git a/README.md b/README.md index f0e4bf7..89e8750 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Maven Central](https://img.shields.io/maven-central/v/com.epam.reportportal/utils-java-formatting.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/com.epam.reportportal/utils-java-formatting) [![CI Build](https://github.com/reportportal/utils-java-formatting/actions/workflows/ci.yml/badge.svg)](https://github.com/reportportal/utils-java-formatting/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/reportportal/utils-java-formatting/branch/develop/graph/badge.svg?token=D21P4TVVAS)](https://codecov.io/gh/reportportal/utils-java-formatting) -[![Join Slack chat!](https://slack.epmrpp.reportportal.io/badge.svg)](https://slack.epmrpp.reportportal.io/) +[![Join Slack chat!](https://img.shields.io/badge/slack-join-brightgreen.svg)](https://slack.epmrpp.reportportal.io/) [![stackoverflow](https://img.shields.io/badge/reportportal-stackoverflow-orange.svg?style=flat)](http://stackoverflow.com/questions/tagged/reportportal) [![Build with Love](https://img.shields.io/badge/build%20with-❤%EF%B8%8F%E2%80%8D-lightgrey.svg)](http://reportportal.io?style=flat) diff --git a/README_TEMPLATE.md b/README_TEMPLATE.md index 288cc85..d9b27cb 100644 --- a/README_TEMPLATE.md +++ b/README_TEMPLATE.md @@ -3,7 +3,7 @@ [![Maven Central](https://img.shields.io/maven-central/v/com.epam.reportportal/utils-java-formatting.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/com.epam.reportportal/utils-java-formatting) [![CI Build](https://github.com/reportportal/utils-java-formatting/actions/workflows/ci.yml/badge.svg)](https://github.com/reportportal/utils-java-formatting/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/reportportal/utils-java-formatting/branch/develop/graph/badge.svg?token=D21P4TVVAS)](https://codecov.io/gh/reportportal/utils-java-formatting) -[![Join Slack chat!](https://slack.epmrpp.reportportal.io/badge.svg)](https://slack.epmrpp.reportportal.io/) +[![Join Slack chat!](https://img.shields.io/badge/slack-join-brightgreen.svg)](https://slack.epmrpp.reportportal.io/) [![stackoverflow](https://img.shields.io/badge/reportportal-stackoverflow-orange.svg?style=flat)](http://stackoverflow.com/questions/tagged/reportportal) [![Build with Love](https://img.shields.io/badge/build%20with-❤%EF%B8%8F%E2%80%8D-lightgrey.svg)](http://reportportal.io?style=flat) diff --git a/build.gradle b/build.gradle index 86f44d7..c41af07 100644 --- a/build.gradle +++ b/build.gradle @@ -37,11 +37,13 @@ repositories { } dependencies { - implementation 'com.epam.reportportal:client-java:5.2.4' - implementation 'com.google.code.findbugs:jsr305:3.0.2' + compileOnly "com.epam.reportportal:client-java:${client_version}" + compileOnly "com.google.code.findbugs:jsr305:${jsr305_version}" implementation 'org.jsoup:jsoup:1.15.3' + testImplementation "com.epam.reportportal:client-java:${client_version}" + testImplementation "com.google.code.findbugs:jsr305:${jsr305_version}" testImplementation 'com.epam.reportportal:agent-java-test-utils:0.0.2' testImplementation("org.junit.platform:junit-platform-runner:${junit5_runner_version}") { diff --git a/gradle.properties b/gradle.properties index 019f7d8..2b3c9df 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,8 @@ description=Report Portal Java formatting utils for Agents and Loggers junit5_version=5.6.3 junit5_runner_version=1.6.3 mockito_version=4.5.1 +client_version=5.2.8 +jsr305_version=3.0.2 scripts_url=https://raw.githubusercontent.com/reportportal/gradle-scripts scripts_branch=master excludeTests=