Read configuration
By default, plugin creates a class with name BytemaskConfig
. If you've configured the different name from the configuration, then you'll have to use that class.
Example
If properties file is like:
API_KEY=Hello1234
In code, you can access it like
fun example() {
val apiKey = BytemaskConfig.API_KEY
}
void example() {
String apiKey = BytemaskConfig.apiKey()
}
Last modified: 16 July 2024