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 version #414

Merged
merged 4 commits into from
May 2, 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 @@ -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.21.11")
git clone --branch v0.21.11 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.21.14")
git clone --branch v0.21.14 --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.21.11")
git clone --branch v0.21.11 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
# (Use the latest version of the CRT here instead of "v0.21.14")
git clone --branch v0.21.14 --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,11 +139,11 @@ repositories {
}

dependencies {
implementation 'software.amazon.awssdk.crt:android:0.21.11'
implementation 'software.amazon.awssdk.crt:android:0.21.14'
}
```

Replace `0.21.11` in `software.amazon.awssdk.crt:android:0.21.11` with the latest version of the CRT.
Replace `0.21.14` in `software.amazon.awssdk.crt:android:0.21.14` 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.11'
api 'software.amazon.awssdk.crt:aws-crt-android:0.21.14'
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.11</version>
<version>0.21.14</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down