Update Android Dependencies, use maplibre-gestures-android (#2714)

This commit is contained in:
Bart Louwers
2024-08-19 21:08:18 +02:00
committed by GitHub
parent ac606a1af2
commit c3a2fa247c
25 changed files with 97 additions and 108 deletions

View File

@@ -1,6 +1,8 @@
apply plugin: 'com.android.application'
android {
ndkVersion '27.0.12077973'
sourceSets {
test {
assets.srcDirs += ['../../../metrics']
@@ -54,9 +56,8 @@ android {
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
androidTestImplementation 'androidx.test:rules:1.5.0'
implementation libs.supportConstraintLayout
androidTestImplementation libs.testRunner
androidTestImplementation libs.testEspressoCore
androidTestImplementation libs.testRules
}

View File

@@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.1'
classpath libs.androidGradlePlugin
}
}

View File

@@ -0,0 +1,12 @@
[versions]
androidGradlePlugin = "8.5.2"
espresso = "3.6.1"
[libraries]
androidGradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "androidGradlePlugin"}
supportConstraintLayout = { group = "androidx.constraintlayout", name = "constraintlayout", version = "2.1.4" }
testRunner = { group = "androidx.test.ext", name = "junit", version = "1.2.1" }
testEspressoCore = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso" }
testRules = { group = "androidx.test", name = "rules", version = "1.6.1" }
[plugins]