aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKolin Lu <kolinlu@google.com>2023-05-15 18:50:37 -0700
committerGitHub <noreply@github.com>2023-05-15 18:50:37 -0700
commit336c57be777d6a74733e6a55e1f96d4c0781ce5e (patch)
treec26bc5781053c26b4f4589cf3234af40af4dc2f2
parentd1e43897a7b08549a2b1804623f3e680e87c5b45 (diff)
parent5b9289c7391fbec9d7205c9b38c26593eda8b19b (diff)
downloadmobly-snippet-lib-336c57be777d6a74733e6a55e1f96d4c0781ce5e.tar.gz
Merge pull request #127 from ko1in1u/v1.4.0
Snippet lib release v1.4.0
-rw-r--r--CHANGELOG5
-rw-r--r--examples/ex1_standalone_app/README.md2
-rw-r--r--examples/ex1_standalone_app/build.gradle2
-rw-r--r--examples/ex2_espresso/README.md2
-rw-r--r--examples/ex2_espresso/build.gradle2
-rw-r--r--examples/ex3_async_event/build.gradle2
-rw-r--r--examples/ex4_uiautomator/build.gradle2
-rw-r--r--examples/ex5_schedule_rpc/build.gradle2
-rw-r--r--examples/ex6_complex_type_conversion/build.gradle2
-rw-r--r--examples/ex7_default_and_optional_rpc/build.gradle2
-rw-r--r--third_party/sl4a/gradle.properties4
11 files changed, 16 insertions, 11 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 489a2f1..3a87f30 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,8 @@
+1.4.0:
+ - Support RpcDefault and RpcOptional
+ - Deprecate non-primitive array types and enable checked warnings in JsonBuilder
+ - Setting class loader before unmarshalling bundle to prevent java.lang.ClassNotFoundException
+
1.3.1:
- Migrate from android.support to androidx library
- Add a default close() method
diff --git a/examples/ex1_standalone_app/README.md b/examples/ex1_standalone_app/README.md
index 36b4d6e..b6d12d7 100644
--- a/examples/ex1_standalone_app/README.md
+++ b/examples/ex1_standalone_app/README.md
@@ -12,7 +12,7 @@ a snippet app that controls (instruments) another app under test, please see
```
dependencies {
- implementation 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ implementation 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
}
```
diff --git a/examples/ex1_standalone_app/build.gradle b/examples/ex1_standalone_app/build.gradle
index ee60dc1..58c1ed1 100644
--- a/examples/ex1_standalone_app/build.gradle
+++ b/examples/ex1_standalone_app/build.gradle
@@ -22,6 +22,6 @@ dependencies {
// The 'implementation project' dep is to compile against the snippet lib source in
// this repo. For your own snippets, you'll want to use the regular
// 'implementation' dep instead:
- //implementation 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ //implementation 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
implementation project(':mobly-snippet-lib')
}
diff --git a/examples/ex2_espresso/README.md b/examples/ex2_espresso/README.md
index c9422a5..0041453 100644
--- a/examples/ex2_espresso/README.md
+++ b/examples/ex2_espresso/README.md
@@ -33,7 +33,7 @@ The snippet code cannot run from a regular test apk because it requires a custom
```
dependencies {
- snippetCompile 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ snippetCompile 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
}
```
diff --git a/examples/ex2_espresso/build.gradle b/examples/ex2_espresso/build.gradle
index 4479e1b..b1d48c2 100644
--- a/examples/ex2_espresso/build.gradle
+++ b/examples/ex2_espresso/build.gradle
@@ -47,7 +47,7 @@ dependencies {
// The 'snippetCompile project' dep is to compile against the snippet lib
// source in this repo. For your own snippets, you'll want to use the
// regular 'snippetCompile' dep instead:
- //snippetCompile 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ //snippetCompile 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
snippetImplementation project(':mobly-snippet-lib')
snippetImplementation 'androidx.annotation:annotation:1.2.0'
diff --git a/examples/ex3_async_event/build.gradle b/examples/ex3_async_event/build.gradle
index 7327fc4..cbe14b8 100644
--- a/examples/ex3_async_event/build.gradle
+++ b/examples/ex3_async_event/build.gradle
@@ -21,6 +21,6 @@ android {
dependencies {
// The 'compile project' dep is to compile against the snippet lib source in
// this repo. For your own snippets, you'll want to use the regular 'compile' dep instead:
- // compile 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ // compile 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
implementation project(':mobly-snippet-lib')
}
diff --git a/examples/ex4_uiautomator/build.gradle b/examples/ex4_uiautomator/build.gradle
index b071e1b..24188d9 100644
--- a/examples/ex4_uiautomator/build.gradle
+++ b/examples/ex4_uiautomator/build.gradle
@@ -23,7 +23,7 @@ dependencies {
// The 'compile project' dep is to compile against the snippet lib source in
// this repo. For your own snippets, you'll want to use the regular
// 'compile' dep instead:
- //compile 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ //compile 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
implementation project(':mobly-snippet-lib')
implementation 'junit:junit:4.13.2'
implementation 'androidx.test:runner:1.4.0'
diff --git a/examples/ex5_schedule_rpc/build.gradle b/examples/ex5_schedule_rpc/build.gradle
index f5aa15c..8023128 100644
--- a/examples/ex5_schedule_rpc/build.gradle
+++ b/examples/ex5_schedule_rpc/build.gradle
@@ -21,7 +21,7 @@ android {
dependencies {
// The 'compile project' dep is to compile against the snippet lib source in
// this repo. For your own snippets, you'll want to use the regular 'compile' dep instead:
- // compile 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ // compile 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
implementation project(':mobly-snippet-lib')
implementation 'androidx.test:runner:1.4.0'
}
diff --git a/examples/ex6_complex_type_conversion/build.gradle b/examples/ex6_complex_type_conversion/build.gradle
index b6039b0..073a437 100644
--- a/examples/ex6_complex_type_conversion/build.gradle
+++ b/examples/ex6_complex_type_conversion/build.gradle
@@ -22,6 +22,6 @@ dependencies {
// The 'implementation project' dep is to compile against the snippet lib source in
// this repo. For your own snippets, you'll want to use the regular
// 'implementation' dep instead:
- //implementation 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ //implementation 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
implementation project(':mobly-snippet-lib')
}
diff --git a/examples/ex7_default_and_optional_rpc/build.gradle b/examples/ex7_default_and_optional_rpc/build.gradle
index 04112c0..35e3925 100644
--- a/examples/ex7_default_and_optional_rpc/build.gradle
+++ b/examples/ex7_default_and_optional_rpc/build.gradle
@@ -22,6 +22,6 @@ dependencies {
// The 'implementation project' dep is to compile against the snippet lib source in
// this repo. For your own snippets, you'll want to use the regular
// 'implementation' dep instead:
- //implementation 'com.google.android.mobly:mobly-snippet-lib:1.3.1'
+ //implementation 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
implementation project(':mobly-snippet-lib')
}
diff --git a/third_party/sl4a/gradle.properties b/third_party/sl4a/gradle.properties
index ebbf2fe..731ecf8 100644
--- a/third_party/sl4a/gradle.properties
+++ b/third_party/sl4a/gradle.properties
@@ -1,6 +1,6 @@
# This version code implements the versioning recommendations in:
# https://blog.jayway.com/2015/03/11/automatic-versioncode-generation-in-android-gradle/
-VERSION_CODE=1030200
-VERSION_NAME=1.3.2-SNAPSHOT
+VERSION_CODE=1040099
+VERSION_NAME=1.4.0
GROUP_ID=com.google.android.mobly
ARTIFACT_ID=mobly-snippet-lib