Class SecretLoader
java.lang.Object
net.darkhax.mmc.module.SecretLoader
This module loads secrets from a JSON file. This file is typically encrypted and can not be read outside the CI
container.
The path to the file must be specified using secretFileV2 or secretFile, with V2 being preferred when available.
The JSON file must be structured as a map of strings. Values will be directly injected into extra properties using the JSON key as the property name. Keys that start with _ or end with _comment will be excluded.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecretLoader
public SecretLoader()
-
-
Method Details
-
loadSecrets
public static void loadSecrets(org.gradle.api.Project rootProject)
-