Skip to content

Commit efe1966

Browse files
committedOct 14, 2020
Warnungen beseitigt
1 parent f7917d2 commit efe1966

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
 

‎build.gradle

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.4.0'
2+
ext.kotlin_version = '1.4.10'
33
repositories {
44
jcenter()
55
}
@@ -9,11 +9,11 @@ buildscript {
99
}
1010

1111
plugins {
12-
id "com.github.johnrengelman.shadow" version "6.0.0"
12+
id "com.github.johnrengelman.shadow" version "6.1.0"
1313
}
1414
plugins {
15-
id "com.github.ben-manes.versions" version "0.29.0"
16-
// Usage: gradle dependencyUpdates
15+
id "com.github.ben-manes.versions" version "0.33.0"
16+
// Usage: gradle dependencyUpdates -Drevision=release
1717
}
1818

1919
// apply plugin: 'java'gradle
@@ -51,8 +51,8 @@ dependencies {
5151
compile "com.beust:jcommander:1.78"
5252
compile "org.slf4j:slf4j-api:1.8.0-beta4"
5353
compile "org.slf4j:slf4j-simple:1.8.0-beta4"
54-
compile "commons-io:commons-io:2.7"
54+
compile "commons-io:commons-io:2.8.0"
5555

5656
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
57-
testCompile "junit:junit:4.13"
57+
testCompile "junit:junit:4.13.1"
5858
}

‎pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
<properties>
2525
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26-
<kotlin.version>1.4.0</kotlin.version>
27-
<junit.version>4.13-beta-3</junit.version>
26+
<kotlin.version>1.4.10</kotlin.version>
27+
<junit.version>4.13.1</junit.version>
2828
<targetJdk>1.8</targetJdk>
2929
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
3030
<maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version>
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>commons-io</groupId>
6868
<artifactId>commons-io</artifactId>
69-
<version>2.7</version>
69+
<version>2.8</version>
7070
</dependency>
7171

7272
<dependency>
@@ -106,7 +106,7 @@
106106
<plugin>
107107
<groupId>org.apache.maven.plugins</groupId>
108108
<artifactId>maven-jar-plugin</artifactId>
109-
<version>3.1.1</version>
109+
<version>3.2.0</version>
110110
<configuration>
111111
<archive>
112112
<manifest>
@@ -121,7 +121,7 @@
121121
<plugin>
122122
<groupId>org.apache.maven.plugins</groupId>
123123
<artifactId>maven-assembly-plugin</artifactId>
124-
<version>3.1.1</version>
124+
<version>3.2.0</version>
125125
<executions>
126126
<execution>
127127
<id>make-assembly</id>

‎src/main/kotlin/ch/bubendorf/rupi/SygicPOIWriter.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SygicPOIWriter(
2828
// Write byte Array to disk
2929
fun writeToFile(outputFile: String) {
3030
val outStream = FileOutputStream(outputFile)
31-
outStream.write(byteArray)
31+
outStream.write(byteArray!!)
3232
outStream.close()
3333
}
3434
}

0 commit comments

Comments
 (0)
Please sign in to comment.