Update gradle (#437)
This commit is contained in:
parent
989e9e1bb6
commit
eecef24179
|
|
@ -167,7 +167,7 @@ dependencies {
|
||||||
val markwonVersion = "4.6.2"
|
val markwonVersion = "4.6.2"
|
||||||
val okhttpVersion = "4.9.1"
|
val okhttpVersion = "4.9.1"
|
||||||
annotationProcessor("com.github.bumptech.glide:compiler:$glideVersion")
|
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.browser:browser:1.3.0")
|
||||||
implementation("androidx.constraintlayout:constraintlayout:2.0.4")
|
implementation("androidx.constraintlayout:constraintlayout:2.0.4")
|
||||||
implementation("androidx.core:core:1.3.2")
|
implementation("androidx.core:core:1.3.2")
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,8 @@ android {
|
||||||
fun findInPath(executable: String): String? {
|
fun findInPath(executable: String): String? {
|
||||||
val pathEnv = System.getenv("PATH")
|
val pathEnv = System.getenv("PATH")
|
||||||
return pathEnv.split(File.pathSeparator).map { folder ->
|
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 ->
|
}.firstOrNull { path ->
|
||||||
path.exists()
|
path.exists()
|
||||||
}?.absolutePath
|
}?.absolutePath
|
||||||
|
|
|
||||||
2
service
2
service
|
|
@ -1 +1 @@
|
||||||
Subproject commit b012241d59c3496960159e02c0f2e5787275bc3a
|
Subproject commit d472277c2773399148be6bf2e03ea21fd59b1dd6
|
||||||
Loading…
Reference in New Issue