Skip to content

Commit

Permalink
dependency upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Apr 14, 2024
1 parent 5d453e9 commit 012bc4c
Show file tree
Hide file tree
Showing 26 changed files with 100 additions and 89 deletions.
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
2 changes: 1 addition & 1 deletion .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
2 changes: 1 addition & 1 deletion .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
2 changes: 1 addition & 1 deletion .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
2 changes: 1 addition & 1 deletion .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
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
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
28 changes: 28 additions & 0 deletions gradle/develocity.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
develocity {
if (!gradle.startParameter.isBuildScan()) {
server = 'https://caffeine.gradle-enterprise.cloud/'
buildScan.publishing.onlyIf { it.authenticated }
}
buildScan {
if (System.env.CI) {
uploadInBackground = false
} else {
obfuscation.ipAddresses { [] }
}
if (System.env.GITHUB_ACTIONS) {
obfuscation.username { 'github' }
}

termsOfUseUrl = 'https://gradle.com/terms-of-service'
termsOfUseAgree = 'yes'
}
}

buildCache {
remote(develocity.buildCache) {
// Check access key presence to avoid build cache errors on PR builds when not present
push = System.env.CI && System.env.DEVELOCITY_ACCESS_KEY
enabled = true
}
local.enabled = true
}
32 changes: 0 additions & 32 deletions gradle/gradle-enterprise.gradle

This file was deleted.

0 comments on commit 012bc4c

Please sign in to comment.