aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4d5f1fa..ed46a2d 100644
--- a/README.md
+++ b/README.md
@@ -21,10 +21,14 @@ public class ConfigurableClass1 {
Kotlin:
```kotlin
val someConfigProp = Config.get<String>("someProp")
+var someOtherOption by Config.get<String>("someOtherOption")
+
fun main() {
Config.use(FilePropertiesProvider.create("config.properties"))
println(someConfigProp.get())
+ println(someOtherOption)
+ someOtherOption = "lul"
}
```
@@ -59,7 +63,7 @@ repositories {
}
dependencies {
- implementation("com.github.romangraef", "jrconfig", "v0.3")
+ implementation("com.github.romangraef", "jrconfig", "v0.4")
}
```
The version can be either a git shortref, or a [tag](https://github.com/romangraef/jrconfig/tags).