mirror of
https://github.com/gradle/actions.git
synced 2026-03-02 17:49:49 +08:00
Convert Develocity config to cjs
This commit is contained in:
8
sources/develocity.config.cjs
Normal file
8
sources/develocity.config.cjs
Normal 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())
|
||||
},
|
||||
}
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user