appium-espresso-driver 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/espresso-server/app/build.gradle.kts +9 -15
- package/espresso-server/build.gradle.kts +3 -18
- package/espresso-server/buildSrc/src/main/kotlin/io/appium/espressoserver/gradle/CapabilityVersion.kt +12 -0
- package/espresso-server/gradle/libs.versions.toml +16 -0
- package/espresso-server/gradle.properties +1 -12
- package/espresso-server/library/build.gradle.kts +34 -30
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
- package/espresso-server/settings.gradle.kts +30 -0
- package/npm-shrinkwrap.json +11 -11
- package/package.json +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/app/build/outputs/apk/androidTest/debug/output-metadata.json +0 -21
- package/espresso-server/buildSrc/.gradle/9.4.1/executionHistory/executionHistory.bin +0 -0
- package/espresso-server/buildSrc/.gradle/9.4.1/executionHistory/executionHistory.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/espresso-server/buildSrc/.gradle/file-system.probe +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/META-INF/buildSrc.kotlin_module +0 -0
- package/espresso-server/buildSrc/build/classes/kotlin/main/io/appium/espressoserver/jvmtarget/AppiumJvmTarget.class +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/outputs-generated-for-plugins.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/outputs-generated-for-plugins.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/outputs-generated-for-plugins.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/outputs-generated-for-plugins.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/outputs-generated-for-plugins.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/outputs-generated-for-plugins.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/sources-referenced-by-plugins.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/sources-referenced-by-plugins.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/sources-referenced-by-plugins.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/sources-referenced-by-plugins.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/sources-referenced-by-plugins.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/compilerPluginFiles/sources-referenced-by-plugins.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/espresso-server/buildSrc/build/libs/buildSrc.jar +0 -0
- package/espresso-server/buildSrc/build/tmp/jar/MANIFEST.MF +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [8.1.0](https://github.com/appium/appium-espresso-driver/compare/v8.0.0...v8.1.0) (2026-04-18)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* add version catalog for Dependabot ([#1152](https://github.com/appium/appium-espresso-driver/issues/1152)) ([16ce10e](https://github.com/appium/appium-espresso-driver/commit/16ce10ea5e32ece75d5e7e55307d2fe2ccc20bc7))
|
|
6
|
+
|
|
1
7
|
## [8.0.0](https://github.com/appium/appium-espresso-driver/compare/v7.2.1...v8.0.0) (2026-04-18)
|
|
2
8
|
|
|
3
9
|
### ⚠ BREAKING CHANGES
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
plugins {
|
|
2
|
-
|
|
2
|
+
alias(libs.plugins.android.application)
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
import io.appium.espressoserver.gradle.resolveCapabilityVersion
|
|
5
6
|
import io.appium.espressoserver.jvmtarget.AppiumJvmTarget
|
|
6
7
|
import org.gradle.api.GradleException
|
|
7
8
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
@@ -14,17 +15,10 @@ val appiumTargetPackage: String by project
|
|
|
14
15
|
val appiumSourceCompatibility: String by project
|
|
15
16
|
val appiumTargetCompatibility: String by project
|
|
16
17
|
val appiumJvmTarget: String by project
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
val
|
|
20
|
-
val
|
|
21
|
-
val appiumGsonVersion: String by project
|
|
22
|
-
val appiumEspressoVersion: String by project
|
|
23
|
-
val appiumMockitoVersion: String by project
|
|
24
|
-
val appiumNanohttpdVersion: String by project
|
|
25
|
-
val appiumRobolectricVersion: String by project
|
|
26
|
-
val appiumJUnitVersion: String by project
|
|
27
|
-
val appiumUiAutomatorVersion: String by project
|
|
18
|
+
|
|
19
|
+
// Align androidTest dependency versions with :library when Espresso driver passes -PappiumJUnitVersion / -PappiumAndroidxTestVersion.
|
|
20
|
+
val junitVersion = resolveCapabilityVersion("appiumJUnitVersion", libs.versions.junit.get())
|
|
21
|
+
val androidxTestVersion = resolveCapabilityVersion("appiumAndroidxTestVersion", libs.versions.androidxTest.get())
|
|
28
22
|
|
|
29
23
|
android {
|
|
30
24
|
compileSdk = appiumCompileSdk.toInt()
|
|
@@ -97,9 +91,9 @@ kotlin {
|
|
|
97
91
|
|
|
98
92
|
dependencies {
|
|
99
93
|
androidTestImplementation(project(":library"))
|
|
100
|
-
androidTestImplementation("junit:junit:$
|
|
101
|
-
androidTestImplementation("androidx.test:core:$
|
|
102
|
-
androidTestImplementation("androidx.test:runner:$
|
|
94
|
+
androidTestImplementation("junit:junit:$junitVersion")
|
|
95
|
+
androidTestImplementation("androidx.test:core:$androidxTestVersion")
|
|
96
|
+
androidTestImplementation("androidx.test:runner:$androidxTestVersion")
|
|
103
97
|
|
|
104
98
|
// additionalAndroidTestDependencies placeholder (don't change or delete this line)
|
|
105
99
|
}
|
|
@@ -1,26 +1,11 @@
|
|
|
1
1
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
repositories {
|
|
7
|
-
google()
|
|
8
|
-
mavenCentral()
|
|
9
|
-
}
|
|
10
|
-
dependencies {
|
|
11
|
-
classpath("com.android.tools.build:gradle:$appiumAndroidGradlePlugin")
|
|
12
|
-
|
|
13
|
-
// NOTE: Do not place your application dependencies here; they belong
|
|
14
|
-
// in the individual module build.gradle.kts files
|
|
15
|
-
}
|
|
3
|
+
plugins {
|
|
4
|
+
alias(libs.plugins.android.application) apply false
|
|
5
|
+
alias(libs.plugins.android.library) apply false
|
|
16
6
|
}
|
|
17
7
|
|
|
18
8
|
allprojects {
|
|
19
|
-
repositories {
|
|
20
|
-
google()
|
|
21
|
-
mavenCentral()
|
|
22
|
-
}
|
|
23
|
-
|
|
24
9
|
group = "io.appium.espressoserver"
|
|
25
10
|
}
|
|
26
11
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
package io.appium.espressoserver.gradle
|
|
2
|
+
|
|
3
|
+
import org.gradle.api.Project
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Resolves a dependency version from an optional Gradle property (e.g. `-PappiumKotlin=…` from the
|
|
7
|
+
* Espresso driver's `toolsVersions` / `espressoBuildConfig`) with fallback to the version catalog default.
|
|
8
|
+
*/
|
|
9
|
+
fun Project.resolveCapabilityVersion(propertyName: String, catalogDefaultVersion: String): String {
|
|
10
|
+
val fromCapability = findProperty(propertyName)?.toString()?.trim()
|
|
11
|
+
return if (!fromCapability.isNullOrEmpty()) fromCapability else catalogDefaultVersion
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[versions]
|
|
2
|
+
androidGradlePlugin = "9.1.1"
|
|
3
|
+
kotlin = "2.3.20"
|
|
4
|
+
androidxTest = "1.5.0"
|
|
5
|
+
annotation = "1.6.0"
|
|
6
|
+
composeUiTest = "1.1.1"
|
|
7
|
+
gson = "2.10.1"
|
|
8
|
+
espresso = "3.5.1"
|
|
9
|
+
nanohttpd = "2.3.1"
|
|
10
|
+
robolectric = "4.9.2"
|
|
11
|
+
junit = "4.13.2"
|
|
12
|
+
uiautomator = "2.2.0"
|
|
13
|
+
|
|
14
|
+
[plugins]
|
|
15
|
+
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
|
16
|
+
android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" }
|
|
@@ -34,15 +34,4 @@ appiumSourceCompatibility=VERSION_1_8
|
|
|
34
34
|
appiumTargetCompatibility=VERSION_1_8
|
|
35
35
|
appiumJvmTarget=1.8
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
appiumKotlin=2.3.20
|
|
39
|
-
appiumAndroidxTestVersion=1.5.0
|
|
40
|
-
appiumAnnotationVersion=1.6.0
|
|
41
|
-
appiumComposeVersion=1.1.1
|
|
42
|
-
appiumGsonVersion=2.10.1
|
|
43
|
-
appiumEspressoVersion=3.5.1
|
|
44
|
-
appiumMockitoVersion=5.1.1
|
|
45
|
-
appiumNanohttpdVersion=2.3.1
|
|
46
|
-
appiumRobolectricVersion=4.9.2
|
|
47
|
-
appiumJUnitVersion=4.13.2
|
|
48
|
-
appiumUiAutomatorVersion=2.2.0
|
|
37
|
+
# Dependency and plugin versions for Dependabot live in gradle/libs.versions.toml
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
plugins {
|
|
2
|
-
|
|
2
|
+
alias(libs.plugins.android.library)
|
|
3
3
|
`maven-publish`
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
import io.appium.espressoserver.gradle.resolveCapabilityVersion
|
|
6
7
|
import io.appium.espressoserver.jvmtarget.AppiumJvmTarget
|
|
7
8
|
import org.gradle.api.GradleException
|
|
8
9
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
@@ -14,16 +15,19 @@ val appiumBuildTools: String by project
|
|
|
14
15
|
val appiumSourceCompatibility: String by project
|
|
15
16
|
val appiumTargetCompatibility: String by project
|
|
16
17
|
val appiumJvmTarget: String by project
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
val
|
|
20
|
-
val
|
|
21
|
-
val
|
|
22
|
-
|
|
23
|
-
val
|
|
24
|
-
val
|
|
25
|
-
val
|
|
26
|
-
val
|
|
18
|
+
|
|
19
|
+
// Versions: defaults from gradle/libs.versions.toml; -Pappium* overrides from Espresso driver (toolsVersions / capabilities).
|
|
20
|
+
val kotlinVersion = resolveCapabilityVersion("appiumKotlin", libs.versions.kotlin.get())
|
|
21
|
+
val annotationVersion = resolveCapabilityVersion("appiumAnnotationVersion", libs.versions.annotation.get())
|
|
22
|
+
val composeUiTestVersion =
|
|
23
|
+
resolveCapabilityVersion("appiumComposeVersion", libs.versions.composeUiTest.get())
|
|
24
|
+
val gsonVersion = resolveCapabilityVersion("appiumGsonVersion", libs.versions.gson.get())
|
|
25
|
+
val espressoVersion = resolveCapabilityVersion("appiumEspressoVersion", libs.versions.espresso.get())
|
|
26
|
+
val nanohttpdVersion = resolveCapabilityVersion("appiumNanohttpdVersion", libs.versions.nanohttpd.get())
|
|
27
|
+
val androidxTestVersion = resolveCapabilityVersion("appiumAndroidxTestVersion", libs.versions.androidxTest.get())
|
|
28
|
+
val robolectricVersion = resolveCapabilityVersion("appiumRobolectricVersion", libs.versions.robolectric.get())
|
|
29
|
+
val junitVersion = resolveCapabilityVersion("appiumJUnitVersion", libs.versions.junit.get())
|
|
30
|
+
val uiautomatorVersion = resolveCapabilityVersion("appiumUiAutomatorVersion", libs.versions.uiautomator.get())
|
|
27
31
|
|
|
28
32
|
android {
|
|
29
33
|
compileSdk = appiumCompileSdk.toInt()
|
|
@@ -85,39 +89,39 @@ publishing {
|
|
|
85
89
|
dependencies {
|
|
86
90
|
// additionalAppDependencies placeholder (don't change or delete this line)
|
|
87
91
|
|
|
88
|
-
api("androidx.annotation:annotation:$
|
|
89
|
-
api("androidx.test.espresso:espresso-contrib:$
|
|
92
|
+
api("androidx.annotation:annotation:$annotationVersion")
|
|
93
|
+
api("androidx.test.espresso:espresso-contrib:$espressoVersion") {
|
|
90
94
|
// Exclude transitive dependencies to limit conflicts with AndroidX libraries from AUT.
|
|
91
95
|
// Link to PR with fix and discussion https://github.com/appium/appium-espresso-driver/pull/596
|
|
92
96
|
isTransitive = false
|
|
93
97
|
}
|
|
94
|
-
api("androidx.test.espresso:espresso-web:$
|
|
98
|
+
api("androidx.test.espresso:espresso-web:$espressoVersion") {
|
|
95
99
|
because("Espresso Web Atoms support (mobile: webAtoms)")
|
|
96
100
|
}
|
|
97
|
-
api("androidx.test.uiautomator:uiautomator:$
|
|
101
|
+
api("androidx.test.uiautomator:uiautomator:$uiautomatorVersion") {
|
|
98
102
|
because("UiAutomator support (mobile: uiautomator)")
|
|
99
103
|
}
|
|
100
|
-
api("androidx.test:core:$
|
|
101
|
-
api("androidx.test:runner:$
|
|
102
|
-
api("androidx.test:rules:$
|
|
103
|
-
api("com.google.code.gson:gson:$
|
|
104
|
-
api("org.nanohttpd:nanohttpd-webserver:$
|
|
105
|
-
api("org.jetbrains.kotlin:kotlin-stdlib:$
|
|
106
|
-
api("org.jetbrains.kotlin:kotlin-reflect:$
|
|
107
|
-
api("androidx.compose.ui:ui-test:$
|
|
104
|
+
api("androidx.test:core:$androidxTestVersion")
|
|
105
|
+
api("androidx.test:runner:$androidxTestVersion")
|
|
106
|
+
api("androidx.test:rules:$androidxTestVersion")
|
|
107
|
+
api("com.google.code.gson:gson:$gsonVersion")
|
|
108
|
+
api("org.nanohttpd:nanohttpd-webserver:$nanohttpdVersion")
|
|
109
|
+
api("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
|
|
110
|
+
api("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
|
|
111
|
+
api("androidx.compose.ui:ui-test:$composeUiTestVersion") {
|
|
108
112
|
because("Android Compose support")
|
|
109
113
|
}
|
|
110
|
-
api("androidx.compose.ui:ui-test-junit4:$
|
|
114
|
+
api("androidx.compose.ui:ui-test-junit4:$composeUiTestVersion") {
|
|
111
115
|
because("Android Compose support")
|
|
112
116
|
}
|
|
113
117
|
|
|
114
|
-
testImplementation("androidx.test.espresso:espresso-contrib:$
|
|
115
|
-
testImplementation("junit:junit:$
|
|
116
|
-
testImplementation("org.robolectric:robolectric:$
|
|
117
|
-
testImplementation("org.jetbrains.kotlin:kotlin-test:$
|
|
118
|
-
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$
|
|
118
|
+
testImplementation("androidx.test.espresso:espresso-contrib:$espressoVersion")
|
|
119
|
+
testImplementation("junit:junit:$junitVersion")
|
|
120
|
+
testImplementation("org.robolectric:robolectric:$robolectricVersion")
|
|
121
|
+
testImplementation("org.jetbrains.kotlin:kotlin-test:$kotlinVersion")
|
|
122
|
+
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion")
|
|
119
123
|
|
|
120
124
|
constraints {
|
|
121
|
-
api("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$
|
|
125
|
+
api("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
|
|
122
126
|
}
|
|
123
127
|
}
|
package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt
CHANGED
|
@@ -2,6 +2,6 @@ package io.appium.espressoserver.lib.helpers
|
|
|
2
2
|
|
|
3
3
|
// This value is updated automatically by the NPM versioning script
|
|
4
4
|
// It should be in sync with the NPM module version from package.json
|
|
5
|
-
private const val VERSION = "8.
|
|
5
|
+
private const val VERSION = "8.1.0"
|
|
6
6
|
|
|
7
7
|
fun getEspressoServerVersion() = VERSION
|
|
@@ -1,2 +1,32 @@
|
|
|
1
|
+
pluginManagement {
|
|
2
|
+
repositories {
|
|
3
|
+
google()
|
|
4
|
+
mavenCentral()
|
|
5
|
+
gradlePluginPortal()
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// When Espresso driver passes -PappiumAndroidGradlePlugin, override the AGP version from the
|
|
9
|
+
// version catalog. Otherwise keep Gradle's catalog-resolved requested version (no regex/TOML parse).
|
|
10
|
+
resolutionStrategy {
|
|
11
|
+
eachPlugin {
|
|
12
|
+
if (requested.id.id == "com.android.application" || requested.id.id == "com.android.library") {
|
|
13
|
+
val fromCapability =
|
|
14
|
+
providers.gradleProperty("appiumAndroidGradlePlugin").orNull?.trim()?.takeIf { it.isNotEmpty() }
|
|
15
|
+
if (fromCapability != null) {
|
|
16
|
+
useVersion(fromCapability)
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
dependencyResolutionManagement {
|
|
24
|
+
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
|
25
|
+
repositories {
|
|
26
|
+
google()
|
|
27
|
+
mavenCentral()
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
1
31
|
include(":app")
|
|
2
32
|
include(":library")
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-espresso-driver",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-espresso-driver",
|
|
9
|
-
"version": "8.
|
|
9
|
+
"version": "8.1.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"appium-adb": "^14.0.0",
|
|
@@ -421,9 +421,9 @@
|
|
|
421
421
|
"license": "MIT"
|
|
422
422
|
},
|
|
423
423
|
"node_modules/@xmldom/xmldom": {
|
|
424
|
-
"version": "0.9.
|
|
425
|
-
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.
|
|
426
|
-
"integrity": "sha512-
|
|
424
|
+
"version": "0.9.10",
|
|
425
|
+
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.10.tgz",
|
|
426
|
+
"integrity": "sha512-A9gOqLdi6cV4ibazAjcQufGj0B1y/vDqYrcuP6d/6x8P27gRS8643Dj9o1dEKtB6O7fwxb2FgBmJS2mX7gpvdw==",
|
|
427
427
|
"license": "MIT",
|
|
428
428
|
"engines": {
|
|
429
429
|
"node": ">=14.6"
|
|
@@ -812,9 +812,9 @@
|
|
|
812
812
|
}
|
|
813
813
|
},
|
|
814
814
|
"node_modules/bare-url": {
|
|
815
|
-
"version": "2.4.
|
|
816
|
-
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.4.
|
|
817
|
-
"integrity": "sha512-
|
|
815
|
+
"version": "2.4.1",
|
|
816
|
+
"resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.4.1.tgz",
|
|
817
|
+
"integrity": "sha512-fZapLWNB25gS+etK27NV9KgBNXgo2yeYHuj+OyPblQd6GYAE3JVy6aKxszMV5jhGGFwraXQKA5fldvf3lMyEqw==",
|
|
818
818
|
"license": "Apache-2.0",
|
|
819
819
|
"dependencies": {
|
|
820
820
|
"bare-path": "^3.0.0"
|
|
@@ -2704,9 +2704,9 @@
|
|
|
2704
2704
|
}
|
|
2705
2705
|
},
|
|
2706
2706
|
"node_modules/plist/node_modules/@xmldom/xmldom": {
|
|
2707
|
-
"version": "0.8.
|
|
2708
|
-
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.
|
|
2709
|
-
"integrity": "sha512-
|
|
2707
|
+
"version": "0.8.13",
|
|
2708
|
+
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.13.tgz",
|
|
2709
|
+
"integrity": "sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==",
|
|
2710
2710
|
"license": "MIT",
|
|
2711
2711
|
"engines": {
|
|
2712
2712
|
"node": ">=10.0.0"
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"artifactType": {
|
|
4
|
-
"type": "APK",
|
|
5
|
-
"kind": "Directory"
|
|
6
|
-
},
|
|
7
|
-
"applicationId": "io.appium.espressoserver.test",
|
|
8
|
-
"variantName": "debugAndroidTest",
|
|
9
|
-
"elements": [
|
|
10
|
-
{
|
|
11
|
-
"type": "SINGLE",
|
|
12
|
-
"filters": [],
|
|
13
|
-
"attributes": [],
|
|
14
|
-
"versionCode": 0,
|
|
15
|
-
"versionName": "",
|
|
16
|
-
"outputFile": "app-debug-androidTest.apk"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"elementType": "File",
|
|
20
|
-
"minSdkVersionForDexing": 26
|
|
21
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|