Skip to content

Commit

Permalink
build: use Gradle v4
Browse files Browse the repository at this point in the history
Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed Dec 6, 2024
1 parent 9a43dcd commit 82a6a88
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 28 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/IJ-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: 'temurin'
java-version: 17
cache: maven
cache: 'gradle'

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle
run: ./gradlew check -PplatformVersion=LATEST-EAP-SNAPSHOT
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/IJ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: 'temurin'
java-version: 17
cache: 'gradle'

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

# Run Verify Plugin task and IntelliJ Plugin Verifier tool
- name: Run Plugin Verification tasks
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/buildZip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,19 @@ jobs:

# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v2
uses: gradle/actions/wrapper-validation@v4

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: 'temurin'
java-version: 17
cache: 'gradle'

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
cache-read-only: false
uses: gradle/actions/setup-gradle@v4

# Build plugin
- name: Build plugin
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: 'temurin'
java-version: 17
cache: maven
cache: 'gradle'

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

# Run tests
- name: Run Tests
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: 'temurin'
java-version: 17
cache: 'gradle'

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Publish Plugin
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,13 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: 'temurin'
java-version: 17
cache: 'gradle'

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
uses: gradle/actions/setup-gradle@v4

- name: Set Release Version
id: release_version
Expand Down

0 comments on commit 82a6a88

Please sign in to comment.