Skip to content

Commit

Permalink
Update CRT to pull in MQTT311 packet framing fix (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretambrose authored Jul 28, 2023
1 parent 7a69ed6 commit e73b15b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ mvn versions:use-latest-versions -Dincludes="software.amazon.awssdk.crt*"
mkdir sdk-workspace
cd sdk-workspace
# Clone the CRT repository
# (Use the latest version of the CRT here instead of "v0.23.2")
git clone --branch v0.23.2 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.24.0")
git clone --branch v0.24.0 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
cd aws-crt-java
# Compile and install the CRT
mvn install -Dmaven.test.skip=true
Expand All @@ -113,8 +113,8 @@ NOTE: The shadow sample does not currently complete on android due to its depend
mkdir sdk-workspace
cd sdk-workspace
# Clone the CRT repository
# (Use the latest version of the CRT here instead of "v0.23.2")
git clone --branch v0.23.2 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.24.0")
git clone --branch v0.24.0 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# Compile and install the CRT for Android
cd aws-crt-java/android
./gradlew connectedCheck # optional, will run the unit tests on any connected devices/emulators
Expand All @@ -139,12 +139,12 @@ repositories {
}
dependencies {
implementation 'software.amazon.awssdk.crt:android:0.23.2'
implementation 'software.amazon.awssdk.crt:android:0.24.0'
}
```
[Android IoT Samples README](./android/app/src/main/assets/README.md)

Replace `0.23.2` in `software.amazon.awssdk.crt:android:0.23.2` with the latest version of the CRT.
Replace `0.24.0` in `software.amazon.awssdk.crt:android:0.24.0` with the latest version of the CRT.
Look up the latest CRT version here: https://github.com/awslabs/aws-crt-java/releases

## Samples
Expand Down
2 changes: 1 addition & 1 deletion android/iotdevicesdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ repositories {
}

dependencies {
api 'software.amazon.awssdk.crt:aws-crt-android:0.23.2'
api 'software.amazon.awssdk.crt:aws-crt-android:0.24.0'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
Expand Down
2 changes: 1 addition & 1 deletion sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<dependency>
<groupId>software.amazon.awssdk.crt</groupId>
<artifactId>aws-crt</artifactId>
<version>0.23.2</version>
<version>0.24.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit e73b15b

Please sign in to comment.