accessKey

val accessKey: () -> String(source)

Provides the access key for the Develocity server. By default, resolves to the first key from these sources that matches the host of server:

  • variable DEVELOCITY_ACCESS_KEY

  • variable GRADLE_ENTERPRISE_ACCESS_KEY

  • file $GRADLE_USER_HOME/.gradle/develocity/keys.properties or, if GRADLE_USER_HOME is not set, ~/.gradle/develocity/keys.properties

  • file ~/.m2/.develocity/keys.properties

Example value: develocity.example.com=abcdefg1234567

Refer to Develocity documentation for more details on the format of such variables and files:

Throws

if no matching key is found.