Skip to content

Commit

Permalink
Upgrade to plugin-plugin 20.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Jan 17, 2023
1 parent beb2257 commit 5f2c523
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/nebula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ jobs:
name: Gradle Build without Publish
steps:
- uses: actions/checkout@v1
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '8'
java-package: jdk
- name: Setup jdk
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
java-package: jdk
- uses: actions/cache@v1
id: gradle-cache
with:
Expand All @@ -46,6 +54,8 @@ jobs:
- ${{ runner.os }}-gradlewrapper-
- name: Gradle build
run: ./gradlew --info --stacktrace build
env:
JDK_VERSION_FOR_TESTS: ${{ matrix.java }}
publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: validation
Expand Down
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

plugins {
id 'com.netflix.nebula.plugin-plugin' version '20.3.0'
id 'com.netflix.nebula.plugin-plugin' version '20.4.0'
}

description 'Gradle plugin to ease use of ivy-publish and maven-publish'
Expand Down Expand Up @@ -257,8 +257,6 @@ gradlePlugin {
}
}

targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8

tasks.withType(Test).configureEach {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
Expand Down

0 comments on commit 5f2c523

Please sign in to comment.