[bot] Update dist directory

This commit is contained in:
bigdaz 2024-06-13 18:43:53 +00:00 committed by github-actions[bot]
parent d0a116fff5
commit c1091c9c8e
10 changed files with 266 additions and 5 deletions

View file

@ -144430,6 +144430,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() { getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry'); 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() { verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' && if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') || this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
@ -144529,6 +144559,17 @@ function getBooleanInput(paramName, paramDefault = false) {
} }
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, 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;
}
}
/***/ }), /***/ }),
@ -145041,6 +145082,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl()); maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree()); 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')); (0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
} }
exports.setup = setup; exports.setup = setup;
@ -145052,6 +145102,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value); core.exportVariable(variableName, value);
} }
} }
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}
/***/ }), /***/ }),

File diff suppressed because one or more lines are too long

View file

@ -95858,6 +95858,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() { getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry'); 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() { verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' && if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') || this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
@ -95957,6 +95987,17 @@ function getBooleanInput(paramName, paramDefault = false) {
} }
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, 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;
}
}
/***/ }), /***/ }),
@ -96198,6 +96239,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl()); maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree()); 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')); (0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
} }
exports.setup = setup; exports.setup = setup;
@ -96209,6 +96259,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value); core.exportVariable(variableName, value);
} }
} }
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}
/***/ }), /***/ }),

File diff suppressed because one or more lines are too long

View file

@ -144430,6 +144430,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() { getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry'); 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() { verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' && if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') || this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
@ -144529,6 +144559,17 @@ function getBooleanInput(paramName, paramDefault = false) {
} }
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, 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;
}
}
/***/ }), /***/ }),
@ -144969,6 +145010,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl()); maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree()); 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')); (0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
} }
exports.setup = setup; exports.setup = setup;
@ -144980,6 +145030,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value); core.exportVariable(variableName, value);
} }
} }
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}
/***/ }), /***/ }),

File diff suppressed because one or more lines are too long

View file

@ -141883,6 +141883,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() { getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry'); 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() { verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' && if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') || this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
@ -141982,6 +142012,17 @@ function getBooleanInput(paramName, paramDefault = false) {
} }
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, 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;
}
}
/***/ }), /***/ }),
@ -142422,6 +142463,15 @@ async function setup(config) {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl()); maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl());
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree()); 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')); (0, short_lived_token_1.setupToken)(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry(), getEnv('DEVELOCITY_ENFORCE_URL'), getEnv('DEVELOCITY_URL'));
} }
exports.setup = setup; exports.setup = setup;
@ -142433,6 +142483,11 @@ function maybeExportVariable(variableName, value) {
core.exportVariable(variableName, value); core.exportVariable(variableName, value);
} }
} }
function maybeExportVariableNotEmpty(variableName, value) {
if (value !== null && value !== undefined && value !== '') {
maybeExportVariable(variableName, value);
}
}
/***/ }), /***/ }),

File diff suppressed because one or more lines are too long

View file

@ -90062,6 +90062,36 @@ class BuildScanConfig {
getDevelocityTokenExpiry() { getDevelocityTokenExpiry() {
return core.getInput('develocity-token-expiry'); 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() { verifyTermsOfUseAgreement() {
if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' && if ((this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/terms-of-service' &&
this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') || this.getBuildScanTermsOfUseUrl() !== 'https://gradle.com/help/legal-terms-of-use') ||
@ -90161,6 +90191,17 @@ function getBooleanInput(paramName, paramDefault = false) {
} }
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, 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;
}
}
/***/ }), /***/ }),

File diff suppressed because one or more lines are too long