File tree 3 files changed +12
-12
lines changed
src/main/kotlin/ch/bubendorf/rupi
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.4.0 '
2
+ ext. kotlin_version = ' 1.4.10 '
3
3
repositories {
4
4
jcenter()
5
5
}
@@ -9,11 +9,11 @@ buildscript {
9
9
}
10
10
11
11
plugins {
12
- id " com.github.johnrengelman.shadow" version " 6.0 .0"
12
+ id " com.github.johnrengelman.shadow" version " 6.1 .0"
13
13
}
14
14
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
17
17
}
18
18
19
19
// apply plugin: 'java'gradle
@@ -51,8 +51,8 @@ dependencies {
51
51
compile " com.beust:jcommander:1.78"
52
52
compile " org.slf4j:slf4j-api:1.8.0-beta4"
53
53
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 "
55
55
56
56
testCompile " org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version "
57
- testCompile " junit:junit:4.13"
57
+ testCompile " junit:junit:4.13.1 "
58
58
}
Original file line number Diff line number Diff line change 23
23
24
24
<properties >
25
25
<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>
28
28
<targetJdk >1.8</targetJdk >
29
29
<kotlin .compiler.incremental>true</kotlin .compiler.incremental>
30
30
<maven .compiler.plugin.version>3.8.1</maven .compiler.plugin.version>
66
66
<dependency >
67
67
<groupId >commons-io</groupId >
68
68
<artifactId >commons-io</artifactId >
69
- <version >2.7 </version >
69
+ <version >2.8 </version >
70
70
</dependency >
71
71
72
72
<dependency >
106
106
<plugin >
107
107
<groupId >org.apache.maven.plugins</groupId >
108
108
<artifactId >maven-jar-plugin</artifactId >
109
- <version >3.1.1 </version >
109
+ <version >3.2.0 </version >
110
110
<configuration >
111
111
<archive >
112
112
<manifest >
121
121
<plugin >
122
122
<groupId >org.apache.maven.plugins</groupId >
123
123
<artifactId >maven-assembly-plugin</artifactId >
124
- <version >3.1.1 </version >
124
+ <version >3.2.0 </version >
125
125
<executions >
126
126
<execution >
127
127
<id >make-assembly</id >
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class SygicPOIWriter(
28
28
// Write byte Array to disk
29
29
fun writeToFile (outputFile : String ) {
30
30
val outStream = FileOutputStream (outputFile)
31
- outStream.write(byteArray)
31
+ outStream.write(byteArray!! )
32
32
outStream.close()
33
33
}
34
34
}
You can’t perform that action at this time.
0 commit comments