File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ dependencies {
24
24
implementation(" javax.xml.bind:jaxb-api:2.3.1" )
25
25
implementation(" com.sun.xml.bind:jaxb-core:2.3.0.1" )
26
26
implementation(" com.sun.xml.bind:jaxb-impl:2.3.3" )
27
- implementation (" com.github.paulorb:modbus-kt:1.0.9 " )
27
+ implementation (" com.github.paulorb:modbus-kt:1.0.11 " )
28
28
implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2" )
29
29
testImplementation(kotlin(" test" ))
30
30
}
@@ -56,4 +56,14 @@ kotlin {
56
56
57
57
application {
58
58
mainClass.set(" MainKt" )
59
+ }
60
+
61
+ tasks.jar {
62
+ manifest {
63
+ attributes[" Main-Class" ] = " MainKt"
64
+ }
65
+ configurations[" compileClasspath" ].forEach { file: File ->
66
+ from(zipTree(file.absoluteFile))
67
+ }
68
+ duplicatesStrategy = DuplicatesStrategy .INCLUDE
59
69
}
You can’t perform that action at this time.
0 commit comments