Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aws-crt-java #359

Merged
merged 1 commit into from
Jan 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,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.21.1")
git clone --branch v0.21.1 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.21.3")
git clone --branch v0.21.3 --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 @@ -112,8 +112,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.21.1")
git clone --branch v0.21.1 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.21.3")
git clone --branch v0.21.3 --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 @@ -138,11 +138,11 @@ repositories {
}

dependencies {
implementation 'software.amazon.awssdk.crt:android:0.21.1'
implementation 'software.amazon.awssdk.crt:android:0.21.3'
}
```

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

#### Caution
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.21.1'
api 'software.amazon.awssdk.crt:aws-crt-android:0.21.3'
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.21.1</version>
<version>0.21.3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down