Skip to content

Commit c7f0e9a

Browse files
authored
Update CRT to pull in MQTT5 JNI fixes (#367)
* Update CRT * Use the update crt script instead * Why did windows runs succeed before?
1 parent c10488b commit c7f0e9a

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
shell: bash
110110
run: |
111111
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
112-
mvn test -Dtest=Mqtt5BuilderTest -DfailIfNoTests=false
112+
mvn test -Dtest=Mqtt5BuilderTest -Dsurefire.failIfNoSpecifiedTests=false
113113
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt cleanup
114114
- name: Running samples in CI setup
115115
run: |

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ mvn versions:use-latest-versions -Dincludes="software.amazon.awssdk.crt*"
9090
mkdir sdk-workspace
9191
cd sdk-workspace
9292
# Clone the CRT repository
93-
# (Use the latest version of the CRT here instead of "v0.21.4")
94-
git clone --branch v0.21.4 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
93+
# (Use the latest version of the CRT here instead of "v0.21.7")
94+
git clone --branch v0.21.7 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
9595
cd aws-crt-java
9696
# Compile and install the CRT
9797
mvn install -Dmaven.test.skip=true
@@ -112,8 +112,8 @@ NOTE: The shadow sample does not currently complete on android due to its depend
112112
mkdir sdk-workspace
113113
cd sdk-workspace
114114
# Clone the CRT repository
115-
# (Use the latest version of the CRT here instead of "v0.21.4")
116-
git clone --branch v0.21.4 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
115+
# (Use the latest version of the CRT here instead of "v0.21.7")
116+
git clone --branch v0.21.7 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
117117
# Compile and install the CRT for Android
118118
cd aws-crt-java/android
119119
./gradlew connectedCheck # optional, will run the unit tests on any connected devices/emulators
@@ -138,11 +138,11 @@ repositories {
138138
}
139139
140140
dependencies {
141-
implementation 'software.amazon.awssdk.crt:android:0.21.4'
141+
implementation 'software.amazon.awssdk.crt:android:0.21.7'
142142
}
143143
```
144144

145-
Replace `0.21.4` in `software.amazon.awssdk.crt:android:0.21.4` with the latest version of the CRT.
145+
Replace `0.21.7` in `software.amazon.awssdk.crt:android:0.21.7` with the latest version of the CRT.
146146
Look up the latest CRT version here: https://github.com/awslabs/aws-crt-java/releases
147147

148148
#### Caution

android/iotdevicesdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ repositories {
9191
}
9292

9393
dependencies {
94-
api 'software.amazon.awssdk.crt:aws-crt-android:0.21.4'
94+
api 'software.amazon.awssdk.crt:aws-crt-android:0.21.7'
9595
implementation 'org.slf4j:slf4j-api:1.7.30'
9696
implementation 'com.google.code.gson:gson:2.9.0'
9797
implementation 'androidx.appcompat:appcompat:1.1.0'

sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>software.amazon.awssdk.crt</groupId>
4444
<artifactId>aws-crt</artifactId>
45-
<version>0.21.4</version>
45+
<version>0.21.7</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)