From 08a1fa4acb96b955d482d7f0938429a0b0d20c5a Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Tue, 29 Oct 2024 14:12:31 +1100 Subject: [PATCH] chore: Update CodeNarc to latest version --- .github/workflows/gradle.yml | 4 ++-- README.md | 2 +- .../groovy/au.com.dius.pact.kotlin-common-conventions.gradle | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 303be50b5..5b0a09919 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,11 +15,11 @@ jobs: module: [ core, 'consumer -x :consumer:junit:clojureTest', provider, pact-specification-test ] steps: - uses: actions/checkout@v2 - - name: Set up JDK 18 + - name: Set up JDK 19 uses: actions/setup-java@v3 with: distribution: temurin - java-version: 18 + java-version: 19 - name: Cache Gradle packages uses: actions/cache@v2 with: diff --git a/README.md b/README.md index 606e07fb3..d692bb292 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ and in the [Pact-JVM wiki](https://github.com/pact-foundation/pact-jvm/wiki). [S | Branch | Specification | JDK | Kotlin Version | Latest Version | Notes | |-----------------------------------------------------------------------------------|---------------|------------|----------------|----------------|-------| -| [4.7.x](https://github.com/pact-foundation/pact-jvm/blob/v4.7.x/README.md) | V4 + plugins | 17+ | 1.8.22 | 4.7.0-beta.0 | | +| [4.7.x](https://github.com/pact-foundation/pact-jvm/blob/v4.7.x/README.md) | V4 + plugins | 17-19 | 1.8.22 | 4.7.0-beta.0 | | | [4.6.x](https://github.com/pact-foundation/pact-jvm/blob/v4.6.x/README.md) master | V4 + plugins | 17-18 | 1.8.22 | 4.6.15 | | | [4.5.x](https://github.com/pact-foundation/pact-jvm/blob/v4.5.x/README.md) | V4 + plugins | 11+/17+(1) | 1.7.20 | 4.5.13 | | | [4.1.x](https://github.com/pact-foundation/pact-jvm/blob/v4.1.x/README.md) | V3 | 8-12 | 1.3.72 | 4.1.43 | | diff --git a/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle b/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle index 993dd85c8..0bfa1f4c0 100644 --- a/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle +++ b/buildSrc/src/main/groovy/au.com.dius.pact.kotlin-common-conventions.gradle @@ -75,6 +75,8 @@ dependencies { // Use the Kotlin JDK 8 standard library. implementation 'org.jetbrains.kotlin:kotlin-stdlib' implementation 'org.jetbrains.kotlin:kotlin-reflect' + + codenarc('org.codenarc:CodeNarc:3.5.0-groovy-4.0') } testing {