Skip to content

Commit

Permalink
Update Gradle, CI. Add missing SafeVarargs annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Nov 26, 2024
1 parent 85afdf6 commit 3567377
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
java: [17, 21]
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ public final void listenAll(Object listener, Event<I, ?>... events) {

/* Implementation */

@SafeVarargs
private <E extends Event<I, ?>> E createWithPhases(
Supplier<E> eventSupplier,
@NotNull I... defaultPhases
Expand Down

0 comments on commit 3567377

Please sign in to comment.