Update gradle (#437)

This commit is contained in:
LoveSy
2021-03-31 06:19:37 +00:00
committed by GitHub
parent 989e9e1bb6
commit eecef24179
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ dependencies {
val markwonVersion = "4.6.2"
val okhttpVersion = "4.9.1"
annotationProcessor("com.github.bumptech.glide:compiler:$glideVersion")
implementation("androidx.activity:activity:1.2.1")
implementation("androidx.activity:activity:1.2.2")
implementation("androidx.browser:browser:1.3.0")
implementation("androidx.constraintlayout:constraintlayout:2.0.4")
implementation("androidx.core:core:1.3.2")
+2 -1
View File
@@ -179,7 +179,8 @@ android {
fun findInPath(executable: String): String? {
val pathEnv = System.getenv("PATH")
return pathEnv.split(File.pathSeparator).map { folder ->
Paths.get("${folder}${File.separator}${executable}").toFile()
Paths.get("${folder}${File.separator}${executable}${if (isWindows) ".exe" else ""}")
.toFile()
}.firstOrNull { path ->
path.exists()
}?.absolutePath
+1 -1
Submodule service updated: b012241d59...d472277c27