Skip to content

Commit

Permalink
[bot] Update dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz authored and github-actions[bot] committed Jun 13, 2024
1 parent d0a116f commit c1091c9
Show file tree
Hide file tree
Showing 10 changed files with 266 additions and 5 deletions.
55 changes: 55 additions & 0 deletions dist/dependency-submission/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144430,6 +144430,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry');
}
getDevelocityInjectionEnabled() {
return getMaybeBooleanInput('develocity-injection-enabled');
}
getDevelocityUrl() {
return core.getInput('develocity-url');
}
getDevelocityAllowUntrustedServer() {
return getMaybeBooleanInput('develocity-allow-untrusted-server');
}
getDevelocityCaptureFileFingerprints() {
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
}
getDevelocityEnforceUrl() {
return getMaybeBooleanInput('develocity-enforce-url');
}
getDevelocityPluginVersion() {
return core.getInput('develocity-plugin-version');
}
getDevelocityCcudPluginVersion() {
return core.getInput('develocity-ccud-plugin-version');
}
getGradlePluginRepositoryUrl() {
return core.getInput('gradle-plugin-repository-url');
}
getGradlePluginRepositoryUsername() {
return core.getInput('gradle-plugin-repository-username');
}
getGradlePluginRepositoryPassword() {
return core.getInput('gradle-plugin-repository-password');
}
verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
Expand Down Expand Up @@ -144529,6 +144559,17 @@ function getBooleanInput(paramName, paramDefault = false) {
}
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
}
function getMaybeBooleanInput(paramName) {
const paramValue = core.getInput(paramName);
switch (paramValue?.toLowerCase().trim()) {
case 'false':
return false;
case 'true':
return true;
default:
return undefined;
}
}


/***/ }),
Expand Down Expand Up @@ -145041,6 +145082,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
}
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
}
exports.setup = setup;
Expand All @@ -145052,6 +145102,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value);
}
}
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}


/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion dist/dependency-submission/main/index.js.map

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions dist/dependency-submission/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95858,6 +95858,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry');
}
getDevelocityInjectionEnabled() {
return getMaybeBooleanInput('develocity-injection-enabled');
}
getDevelocityUrl() {
return core.getInput('develocity-url');
}
getDevelocityAllowUntrustedServer() {
return getMaybeBooleanInput('develocity-allow-untrusted-server');
}
getDevelocityCaptureFileFingerprints() {
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
}
getDevelocityEnforceUrl() {
return getMaybeBooleanInput('develocity-enforce-url');
}
getDevelocityPluginVersion() {
return core.getInput('develocity-plugin-version');
}
getDevelocityCcudPluginVersion() {
return core.getInput('develocity-ccud-plugin-version');
}
getGradlePluginRepositoryUrl() {
return core.getInput('gradle-plugin-repository-url');
}
getGradlePluginRepositoryUsername() {
return core.getInput('gradle-plugin-repository-username');
}
getGradlePluginRepositoryPassword() {
return core.getInput('gradle-plugin-repository-password');
}
verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
Expand Down Expand Up @@ -95957,6 +95987,17 @@ function getBooleanInput(paramName, paramDefault = false) {
}
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
}
function getMaybeBooleanInput(paramName) {
const paramValue = core.getInput(paramName);
switch (paramValue?.toLowerCase().trim()) {
case 'false':
return false;
case 'true':
return true;
default:
return undefined;
}
}


/***/ }),
Expand Down Expand Up @@ -96198,6 +96239,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
}
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
}
exports.setup = setup;
Expand All @@ -96209,6 +96259,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value);
}
}
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}


/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion dist/dependency-submission/post/index.js.map

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions dist/setup-gradle/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144430,6 +144430,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry');
}
getDevelocityInjectionEnabled() {
return getMaybeBooleanInput('develocity-injection-enabled');
}
getDevelocityUrl() {
return core.getInput('develocity-url');
}
getDevelocityAllowUntrustedServer() {
return getMaybeBooleanInput('develocity-allow-untrusted-server');
}
getDevelocityCaptureFileFingerprints() {
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
}
getDevelocityEnforceUrl() {
return getMaybeBooleanInput('develocity-enforce-url');
}
getDevelocityPluginVersion() {
return core.getInput('develocity-plugin-version');
}
getDevelocityCcudPluginVersion() {
return core.getInput('develocity-ccud-plugin-version');
}
getGradlePluginRepositoryUrl() {
return core.getInput('gradle-plugin-repository-url');
}
getGradlePluginRepositoryUsername() {
return core.getInput('gradle-plugin-repository-username');
}
getGradlePluginRepositoryPassword() {
return core.getInput('gradle-plugin-repository-password');
}
verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
Expand Down Expand Up @@ -144529,6 +144559,17 @@ function getBooleanInput(paramName, paramDefault = false) {
}
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
}
function getMaybeBooleanInput(paramName) {
const paramValue = core.getInput(paramName);
switch (paramValue?.toLowerCase().trim()) {
case 'false':
return false;
case 'true':
return true;
default:
return undefined;
}
}


/***/ }),
Expand Down Expand Up @@ -144969,6 +145010,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
}
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
}
exports.setup = setup;
Expand All @@ -144980,6 +145030,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value);
}
}
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}


/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion dist/setup-gradle/main/index.js.map

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions dist/setup-gradle/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141883,6 +141883,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry');
}
getDevelocityInjectionEnabled() {
return getMaybeBooleanInput('develocity-injection-enabled');
}
getDevelocityUrl() {
return core.getInput('develocity-url');
}
getDevelocityAllowUntrustedServer() {
return getMaybeBooleanInput('develocity-allow-untrusted-server');
}
getDevelocityCaptureFileFingerprints() {
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
}
getDevelocityEnforceUrl() {
return getMaybeBooleanInput('develocity-enforce-url');
}
getDevelocityPluginVersion() {
return core.getInput('develocity-plugin-version');
}
getDevelocityCcudPluginVersion() {
return core.getInput('develocity-ccud-plugin-version');
}
getGradlePluginRepositoryUrl() {
return core.getInput('gradle-plugin-repository-url');
}
getGradlePluginRepositoryUsername() {
return core.getInput('gradle-plugin-repository-username');
}
getGradlePluginRepositoryPassword() {
return core.getInput('gradle-plugin-repository-password');
}
verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
Expand Down Expand Up @@ -141982,6 +142012,17 @@ function getBooleanInput(paramName, paramDefault = false) {
}
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
}
function getMaybeBooleanInput(paramName) {
const paramValue = core.getInput(paramName);
switch (paramValue?.toLowerCase().trim()) {
case 'false':
return false;
case 'true':
return true;
default:
return undefined;
}
}


/***/ }),
Expand Down Expand Up @@ -142422,6 +142463,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree());
}
maybeExportVariableNotEmpty('DEVELOCITY_INJECTION_ENABLED', config.getDevelocityInjectionEnabled());
maybeExportVariableNotEmpty('DEVELOCITY_URL', config.getDevelocityUrl());
maybeExportVariableNotEmpty('DEVELOCITY_ALLOW_UNTRUSTED_SERVER', config.getDevelocityAllowUntrustedServer());
maybeExportVariableNotEmpty('DEVELOCITY_CAPTURE_FILE_FINGERPRINTS', config.getDevelocityCaptureFileFingerprints());
maybeExportVariableNotEmpty('DEVELOCITY_ENFORCE_URL', config.getDevelocityEnforceUrl());
maybeExportVariableNotEmpty('DEVELOCITY_PLUGIN_VERSION', config.getDevelocityPluginVersion());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_URL', config.getGradlePluginRepositoryUrl());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getGradlePluginRepositoryUsername());
maybeExportVariableNotEmpty('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getGradlePluginRepositoryPassword());
(0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
}
exports.setup = setup;
Expand All @@ -142433,6 +142483,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value);
}
}
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}


/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion dist/setup-gradle/post/index.js.map

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions dist/wrapper-validation/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90062,6 +90062,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry');
}
getDevelocityInjectionEnabled() {
return getMaybeBooleanInput('develocity-injection-enabled');
}
getDevelocityUrl() {
return core.getInput('develocity-url');
}
getDevelocityAllowUntrustedServer() {
return getMaybeBooleanInput('develocity-allow-untrusted-server');
}
getDevelocityCaptureFileFingerprints() {
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
}
getDevelocityEnforceUrl() {
return getMaybeBooleanInput('develocity-enforce-url');
}
getDevelocityPluginVersion() {
return core.getInput('develocity-plugin-version');
}
getDevelocityCcudPluginVersion() {
return core.getInput('develocity-ccud-plugin-version');
}
getGradlePluginRepositoryUrl() {
return core.getInput('gradle-plugin-repository-url');
}
getGradlePluginRepositoryUsername() {
return core.getInput('gradle-plugin-repository-username');
}
getGradlePluginRepositoryPassword() {
return core.getInput('gradle-plugin-repository-password');
}
verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
Expand Down Expand Up @@ -90161,6 +90191,17 @@ function getBooleanInput(paramName, paramDefault = false) {
}
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
}
function getMaybeBooleanInput(paramName) {
const paramValue = core.getInput(paramName);
switch (paramValue?.toLowerCase().trim()) {
case 'false':
return false;
case 'true':
return true;
default:
return undefined;
}
}


/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion dist/wrapper-validation/main/index.js.map

Large diffs are not rendered by default.

0 comments on commit c1091c9

Please sign in to comment.