mirror of https://github.com/weisJ/darklaf.git
weisj
5 years ago
4 changed files with 26 additions and 3 deletions
@ -0,0 +1,10 @@
|
||||
import java.io.FileInputStream |
||||
import java.util.Properties |
||||
|
||||
val properties = Properties() |
||||
FileInputStream(File("${rootProject.rootDir}/../gradle.properties")).use { |
||||
properties.load(it) |
||||
} |
||||
properties.stringPropertyNames().forEach { |
||||
extra[it] = properties[it] |
||||
} |
Loading…
Reference in new issue