up kotlin and change props

This commit is contained in:
gowthaman
2024-04-29 18:23:28 +05:30
parent 3f4c53c6cc
commit ade8901649
3 changed files with 12 additions and 7 deletions

View File

@@ -8,7 +8,13 @@ import net.cactusthorn.config.core.loader.LoadStrategy
import java.util.Optional
@Config(
sources = ["file:~/app.yaml", "system:env"],
sources = [
"file:~/app.properties",
"file:./app.properties",
"file:./app.yaml",
"file:~/app.yaml",
"system:env",
],
loadStrategy = LoadStrategy.FIRST_KEYCASEINSENSITIVE
)
interface AppConfig {