MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / loadSetting

Function loadSetting

packages/kotlin/src/android/build.gradle.kts:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24fun loadSetting(envKey: String, propKey: String, setter: (value: String) -> Unit) {
25 if (props.containsKey(propKey)) {
26 setter(props.getProperty(propKey))
27 } else {
28 val env = providers
29 .environmentVariable(envKey)
30 if (env.isPresent) {
31 setter(env.get())
32 }
33 }
34}
35
36var libDescription =
37 "alphaTab is a cross platform music notation and guitar tablature rendering library."

Callers 1

build.gradle.ktsFile · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected