-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Not sure the DSL below is possible, but something like this
buildKonfig {
defaultConfigs {
// load all values as string
fromProperties file('./secrets.properties') {
// specify type
propertyAs type: 'INT', key: 'KEY_OF_PROPERTY'
// also specify different name
propertyAs type: 'LONG', key: 'key.of.other', name: 'DIFFERENT_NAME'
}
// you can also add other stuff as usual
buildKonfigField('STRING', 'FOO', 'bar')
}
}
kdani41 and shubhamsinghshubham777
Metadata
Metadata
Assignees
Labels
No labels