Use gradle properties to disable features instead of CLI args

These gradle properties will be silently ignored on older Gradle versions,
whereas unknown command-line args will cause Gradle to fail.

Fixes #15
This commit is contained in:
daz 2024-02-08 21:44:49 -07:00
parent 9c837ee543
commit dfd22334ff
No known key found for this signature in database

View file

@ -64,8 +64,8 @@ runs:
build-scan-terms-of-service-agree: ${{ inputs.build-scan-terms-of-service-agree }}
artifact-retention-days: 1
arguments: |
--no-configure-on-demand
--dependency-verification=off
-Dorg.gradle.configureondemand=false
-Dorg.gradle.dependency.verification=off
:ForceDependencyResolutionPlugin_resolveAllDependencies
${{ inputs.additional-arguments }}
- name: Download and submit dependency graph