mirror of
https://github.com/wgtunnel/android.git
synced 2026-06-02 00:29:08 +02:00
5946d7c10d
Fixes bug where control tile tunnel did not match with tunnel being controlled Closes #132 Fixes tunnel config edit screen error message #131 Revert to official lib to fix slow speeds issue Closes #137 Adds local app lock feature Closes #88 Adds restart vpn on ping fail with 1 minute interval and 60 minute cooldown Closes #6 Adds ability to easily make a copy of a tunnel. Fixes bug on AndroidTV where tunnels were not being deleted properly. Fixes bug where auto tunneling could be turned on before VPN permission was given.
35 lines
879 B
Kotlin
35 lines
879 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
mavenLocal()
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenLocal()
|
|
maven("https://gitea.zaneschepke.com/api/packages/zane/maven")
|
|
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)
|
|
}
|
|
|
|
rootProject.name = "WG Tunnel"
|
|
|
|
include(":app")
|
|
include(":logcatter")
|