wgtunnel/settings.gradle.kts

35 lines
829 B
Plaintext
Raw Normal View History

2023-05-24 01:33:20 -04:00
pluginManagement {
repositories {
2024-03-11 12:39:00 -04:00
mavenLocal()
2023-05-24 01:33:20 -04:00
google()
mavenCentral()
gradlePluginPortal()
}
}
2023-05-24 01:33:20 -04:00
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
2024-03-11 12:39:00 -04:00
mavenLocal()
2023-05-24 01:33:20 -04:00
google()
mavenCentral()
}
}
fun getLocalProperty(key: String, file: String = "local.properties"): String? {
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")