Skip to content

Commit

Permalink
update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusja committed Mar 5, 2019
1 parent ccf01a2 commit 27673e4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.android.tools.build:gradle:3.3.2'

classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.3'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.4'

classpath 'org.codehaus.groovy:groovy-all:2.4.15'

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
2 changes: 1 addition & 1 deletion libaums/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dependencies {
testImplementation 'org.apache.commons:commons-io:1.3.2'
testImplementation 'com.eclipsesource.minimal-json:minimal-json:0.9.4'
testImplementation 'org.xenei:junit-contracts:0.1.7'
testImplementation 'org.mockito:mockito-core:2.7.22'
testImplementation 'org.mockito:mockito-core:2.24.5'

api 'androidx.annotation:annotation:1.0.0-beta01'
javadocDeps 'androidx.annotation:annotation:1.0.0-beta01'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public FileBlockDeviceDriver(File file) throws FileNotFoundException {
public FileBlockDeviceDriver(URL url, int blockSize, int byteOffset) throws IOException {
this.byteOffset = byteOffset;
ReadableByteChannel rbc = Channels.newChannel(url.openStream());
File tempFile = File.createTempFile("blockdevice", "bin");
File tempFile = File.createTempFile("libaums_test_blockdevice", "bin");
tempFile.deleteOnExit();
FileOutputStream fos = new FileOutputStream(tempFile);
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);

Expand Down

0 comments on commit 27673e4

Please sign in to comment.