Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump gradle/actions from 3.1.0 to 3.3.0 #1671

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@ updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
interval: monthly
- package-ecosystem: github-actions
directory: /.github/actions/run-gradle
schedule:
interval: daily
interval: monthly
- package-ecosystem: gradle
directory: /
schedule:
interval: daily
interval: monthly
- package-ecosystem: gradle
directory: gradle/plugins
schedule:
interval: daily
interval: monthly
- package-ecosystem: gradle
directory: examples/coalescing-bulkloader-reactor
schedule:
interval: daily
interval: monthly
- package-ecosystem: gradle
directory: examples/write-behind-rxjava
schedule:
interval: daily
interval: monthly
- package-ecosystem: gradle
directory: examples/hibernate
schedule:
interval: daily
interval: monthly
- package-ecosystem: gradle
directory: examples/resilience-failsafe
schedule:
interval: daily
interval: monthly
- package-ecosystem: gradle
directory: examples/graal-native
schedule:
interval: daily
interval: monthly
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permissions: read-all
on: [ push, pull_request ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
ALLOWED_ENDPOINTS: >
api.adoptium.net:443
api.github.com:443
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permissions: read-all
on: [ push, pull_request ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
PUBLISH_JDK: 21

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
permissions: read-all

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
ALLOWED_ENDPOINTS: >
*.actions.githubusercontent.com:443
api.adoptium.net:443
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:
security-events: write

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 21

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
permissions: read-all

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 22

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-submission-pr-retreive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [completed]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 22

jobs:
Expand Down Expand Up @@ -35,6 +35,6 @@ jobs:
repo1.maven.org:443
services.gradle.org:443
- name: Retrieve and submit dependency graph
uses: gradle/actions/dependency-submission@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
uses: gradle/actions/dependency-submission@6cec5d49d4d6d4bb982fbed7047db31ea6d38f11 # v3.3.0
with:
dependency-graph: download-and-submit
4 changes: 2 additions & 2 deletions .github/workflows/dependency-submission-pr-submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permissions: read-all
on: [ pull_request ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 21

jobs:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
distribution: temurin
- name: Submit Dependency Graph
uses: gradle/actions/dependency-submission@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
uses: gradle/actions/dependency-submission@6cec5d49d4d6d4bb982fbed7047db31ea6d38f11 # v3.3.0
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
dependency-graph: generate-and-upload
4 changes: 2 additions & 2 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permissions: read-all
on: [ push ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 21

jobs:
Expand Down Expand Up @@ -38,6 +38,6 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
distribution: temurin
- name: Submit Dependency Graph
uses: gradle/actions/dependency-submission@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
uses: gradle/actions/dependency-submission@6cec5d49d4d6d4bb982fbed7047db31ea6d38f11 # v3.3.0
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permissions: read-all
on: [ push, pull_request ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 21

jobs:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
uses: gradle/actions/setup-gradle@6cec5d49d4d6d4bb982fbed7047db31ea6d38f11 # v3.3.0
with:
add-job-summary: never
cache-read-only: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permissions: read-all
on: [ push, pull_request ]

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 11

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
permissions: read-all

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
JAVA_VERSION: 11

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
permissions: read-all

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}

jobs:
snyk:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
objects.githubusercontent.com:443
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Typos
uses: crate-ci/typos@bcafd462cb07ef7ba57e34abf458fe20767e808b # v1.19.0
uses: crate-ci/typos@e1591a6852c2aa310c0ddff92a33c70b9815868d # v1.20.7
21 changes: 19 additions & 2 deletions caffeine/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis
import kotlin.math.max
import net.ltgt.gradle.errorprone.errorprone
import org.gradle.api.tasks.PathSensitivity.RELATIVE
import org.gradle.plugins.ide.eclipse.model.Classpath as EclipseClasspath
import org.gradle.plugins.ide.eclipse.model.Library

plugins {
id("java-library-caffeine-conventions")
Expand All @@ -21,6 +23,7 @@ sourceSets {

val compileJavaPoetJava by tasks.existing
val javaAgent: Configuration by configurations.creating
val collections4Sources: Configuration by configurations.creating
var javaPoetImplementation: Configuration = configurations["javaPoetImplementation"]

dependencies {
Expand All @@ -45,6 +48,11 @@ dependencies {
classifier = "tests"
}
}
collections4Sources(libs.commons.collections4) {
artifact {
classifier = "test-sources"
}
}
testImplementation(sourceSets["codeGen"].output)
testImplementation(libs.eclipse.collections.testutils)

Expand Down Expand Up @@ -288,8 +296,17 @@ for (scenario in Scenario.all()) {
}
}

eclipse {
classpath.plusConfigurations.add(configurations["javaPoetCompileClasspath"])
eclipse.classpath {
plusConfigurations.add(configurations["javaPoetCompileClasspath"])

file.whenMerged {
if (this is EclipseClasspath) {
val regex = ".*collections4.*-tests.jar".toRegex()
entries.filterIsInstance<Library>()
.filter { regex.matches(it.path) }
.forEach { it.sourcePath = fileReference(file(collections4Sources.asPath)) }
}
}
}

idea.module {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
caffeine = "3.1.8"
junit = "5.10.2"
reactor = "3.6.4"
reactor = "3.6.5"
truth = "1.4.2"
versions = "0.51.0"

Expand Down
6 changes: 3 additions & 3 deletions examples/coalescing-bulkloader-reactor/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("com.gradle.enterprise") version "3.16.2"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.13"
id("com.gradle.develocity") version "3.17.1"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

Expand All @@ -10,6 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")
apply(from = "../../gradle/develocity.gradle")

rootProject.name = "coalescing-bulkloader-reactor"
6 changes: 3 additions & 3 deletions examples/graal-native/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ pluginManagement {
}
}
plugins {
id("com.gradle.enterprise") version "3.16.2"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.13"
id("com.gradle.develocity") version "3.17.1"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

Expand All @@ -16,6 +16,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")
apply(from = "../../gradle/develocity.gradle")

rootProject.name = "graal-native"
2 changes: 1 addition & 1 deletion examples/hibernate/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
caffeine = "3.1.8"
h2 = "2.2.224"
hibernate = "6.5.0.CR1"
hibernate = "6.5.0.CR2"
junit = "5.10.2"
log4j2 = "3.0.0-beta2"
slf4j = "2.0.7"
Expand Down
6 changes: 3 additions & 3 deletions examples/hibernate/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("com.gradle.enterprise") version "3.16.2"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.13"
id("com.gradle.develocity") version "3.17.1"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

Expand All @@ -10,6 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")
apply(from = "../../gradle/develocity.gradle")

rootProject.name = "hibernate"
6 changes: 3 additions & 3 deletions examples/resilience-failsafe/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("com.gradle.enterprise") version "3.16.2"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.13"
id("com.gradle.develocity") version "3.17.1"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

Expand All @@ -10,6 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")
apply(from = "../../gradle/develocity.gradle")

rootProject.name = "resilience-failsafe"
6 changes: 3 additions & 3 deletions examples/write-behind-rxjava/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("com.gradle.enterprise") version "3.16.2"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.13"
id("com.gradle.develocity") version "3.17.1"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

Expand All @@ -10,6 +10,6 @@ dependencyResolutionManagement {
}
}

apply(from = "../../gradle/gradle-enterprise.gradle")
apply(from = "../../gradle/develocity.gradle")

rootProject.name = "writebehind-rxjava"
15 changes: 15 additions & 0 deletions gradle/config/spotbugs/exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@
</Or>
<Bug pattern="NP_NULL_ON_SOME_PATH, NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE"/>
</Match>
<Match>
<Class name="com.github.benmanes.caffeine.cache.stats.CacheStats"/>
<Method name="empty"/>
<Bug pattern="SING_SINGLETON_GETTER_NOT_SYNCHRONIZED"/>
</Match>
<Match>
<Class name="com.github.benmanes.caffeine.cache.stats.CacheStats"/>
<Or>
Expand Down Expand Up @@ -441,6 +446,11 @@
<Method name="~print.*"/>
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
</Match>
<Match>
<Class name="com.github.benmanes.caffeine.cache.simulator.policy.AccessEvent"/>
<Method name="equals"/>
<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
</Match>
<Match>
<Class name="com.github.benmanes.caffeine.cache.simulator.policy.AccessEvent$PenaltiesAccessEvent"/>
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
Expand All @@ -463,6 +473,11 @@
<Method name="equals"/>
<Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
</Match>
<Match>
<Class name="com.github.benmanes.caffeine.cache.simulator.policy.sketch.climbing.HillClimber$Adaptation"/>
<Method name="hold"/>
<Bug pattern="SING_SINGLETON_GETTER_NOT_SYNCHRONIZED"/>
</Match>
<Match>
<Class name="com.github.benmanes.caffeine.cache.simulator.report.TextReporter"/>
<Method name="print"/>
Expand Down
Loading
Loading