wgtunnel/settings.gradle.kts

37 lines
728 B
Plaintext
Raw Normal View History

2023-05-24 01:33:20 -04:00
pluginManagement {
2024-07-28 14:49:35 -04:00
repositories {
mavenLocal()
google()
mavenCentral()
gradlePluginPortal()
}
2023-05-24 01:33:20 -04:00
}
2023-05-24 01:33:20 -04:00
dependencyResolutionManagement {
2024-07-28 14:49:35 -04:00
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenLocal()
google()
mavenCentral()
}
2023-05-24 01:33:20 -04:00
}
fun getLocalProperty(key: String, file: String = "local.properties"): String? {
2024-07-28 14:49:35 -04:00
val properties = java.util.Properties()
val localProperties = File(file)
if (localProperties.isFile) {
java.io.InputStreamReader(java.io.FileInputStream(localProperties), Charsets.UTF_8)
.use { reader ->
properties.load(reader)
}
} else {
return null
}
return properties.getProperty(key)
}
2023-05-24 01:33:20 -04:00
rootProject.name = "WG Tunnel"
2023-05-24 01:33:20 -04:00
include(":app")
2024-03-13 02:52:57 -04:00
include(":logcatter")