Skip to content

Commit

Permalink
Use gradle properties to disable features instead of CLI args
Browse files Browse the repository at this point in the history
These gradle properties will be silently ignored on older Gradle versions,
whereas unknown command-line args will cause Gradle to fail.

Fixes #15
  • Loading branch information
bigdaz committed Feb 9, 2024
1 parent ce68823 commit be2787f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dependency-submission/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be2787f

Please sign in to comment.