From dfd22334ffefd5d81675ef8d4d37b93c6472c53f Mon Sep 17 00:00:00 2001 From: daz Date: Thu, 8 Feb 2024 21:44:49 -0700 Subject: [PATCH] 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 --- dependency-submission/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependency-submission/action.yml b/dependency-submission/action.yml index ec820a0..70735d9 100644 --- a/dependency-submission/action.yml +++ b/dependency-submission/action.yml @@ -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