Convert Develocity config to cjs

This commit is contained in:
Daz DeBoer
2026-02-11 07:46:14 -07:00
parent 2b9247147a
commit 9bbab15bc5
2 changed files with 8 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
const { fromPropertiesFile, inGradleUserHome } = require('@gradle-tech/develocity-agent/api/config');
module.exports = {
server: {
url: 'https://ge.solutions-team.gradle.com/',
accessKey: fromPropertiesFile(inGradleUserHome())
},
}

View File

@@ -1,10 +0,0 @@
import { fromPropertiesFile, inGradleUserHome } from '@gradle-tech/develocity-agent/api/config';
const config = {
server: {
url: 'https://ge.solutions-team.gradle.com/',
accessKey: fromPropertiesFile(inGradleUserHome())
}
};
export default config;