Skip to content

Commit

Permalink
Fix aws-crt-jni.dll files filling up Windows temp dir. (#283)
Browse files Browse the repository at this point in the history
Update to latest aws-crt. Contains [fix](awslabs/aws-crt-java#493) that, on startup, deletes any .dll files it finds from previous runs of the library.
  • Loading branch information
graebm authored May 31, 2022
1 parent c5337b1 commit 0bca07e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mkdir sdk-workspace
cd sdk-workspace
# Clone the CRT repository
# (Use the latest version of the CRT here instead of "v0.16.4")
git clone --branch v0.16.12 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
git clone --branch v0.16.13 --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 @@ -102,7 +102,7 @@ mkdir sdk-workspace
cd sdk-workspace
# Clone the CRT repository
# (Use the latest version of the CRT here instead of "v0.16.4")
git clone --branch v0.16.12 --recurse-submodules https://github.com/awslabs/aws-crt-java.git
git clone --branch v0.16.13 --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 @@ -126,7 +126,7 @@ repositories {
}
dependencies {
implementation 'software.amazon.awssdk.crt:android:0.16.12'
implementation 'software.amazon.awssdk.crt:android:0.16.13'
}
```

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

0 comments on commit 0bca07e

Please # to comment.