Skip to content

Mention absolute path requirement for parameters #405

Mention absolute path requirement for parameters

Mention absolute path requirement for parameters #405

Workflow file for this run

name: Java CI with Gradle
on:
push:
paths-ignore:
- 'release/**'
pull_request:
jobs:
quick-check:
runs-on: ubuntu-latest
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Execute Gradle Build
run: ./gradlew build
test-gradle-version:
needs: quick-check
strategy:
fail-fast: false
matrix:
# Test earliest and latest supported version of 5.x, 6.x and 7.x, as well as all patched minor versions of 8.x
# Latest 8.x is tested in 'quick-check' job using the wrapper
gradle-version: [ "5.2.1", "5.6.4", "6.0.1", "6.9.4", "7.1.1", "7.6.4", "8.0.2", "8.1.1", "8.2.1", "8.3", "8.4", "8.5", "8.6"]
runs-on: ubuntu-latest
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Execute Gradle Build
run: ./gradlew -S build -DtestGradleVersion=${{ matrix.gradle-version }}
self-test:
needs: quick-check
runs-on: ubuntu-latest
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Self Test :plugin
run: ./plugin-self-test ForceDependencyResolutionPlugin_resolveAllDependencies
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_DEPENDENCY_GRAPH_JOB_ID: ${{ github.run_id }}
GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR: "plugin-self-test"
GITHUB_DEPENDENCY_GRAPH_REF: ${{ github.ref }}
GITHUB_DEPENDENCY_GRAPH_SHA: ${{ github.sha }}
GITHUB_DEPENDENCY_GRAPH_WORKSPACE: ${{ github.workspace }}
- name: Save plugin JSON report
uses: actions/upload-artifact@v4
with:
name: plugin-json
path: build/reports/dependency-graph-snapshots/plugin-self-test.json
if-no-files-found: error