File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
src/main/java/net/nurigo/sdk/message/request Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
1
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3
3
4
plugins {
4
5
kotlin(" jvm" ) version " 1.6.21"
5
6
kotlin(" plugin.serialization" ) version " 1.6.21"
6
7
id(" org.jetbrains.dokka" ) version " 1.6.21"
8
+ id(" com.github.johnrengelman.shadow" ) version " 7.1.2"
9
+ java
7
10
`java- library`
8
11
`maven- publish`
9
12
signing
10
13
}
11
14
12
15
group = " net.nurigo"
13
- version = " 4.2.3 "
16
+ version = " 4.2.4 "
14
17
15
18
repositories {
16
19
mavenCentral()
@@ -35,6 +38,15 @@ java {
35
38
withSourcesJar()
36
39
}
37
40
41
+ tasks.named<ShadowJar >(" shadowJar" ) {
42
+ mergeServiceFiles()
43
+
44
+ exclude(" **/*.kotlin_metadata" )
45
+ exclude(" **/*.kotlin_builtins" )
46
+
47
+ archiveClassifier.set(" " )
48
+ }
49
+
38
50
tasks.getByName<Test >(" test" ) {
39
51
useJUnitPlatform()
40
52
}
@@ -49,7 +61,7 @@ tasks.withType<Jar> {
49
61
duplicatesStrategy = DuplicatesStrategy .EXCLUDE
50
62
51
63
manifest {
52
- attributes[ " Main-Class" ] = " net.nurigo.sdk.NurigoApp"
64
+ attributes( mapOf ( " Main-Class" to " net.nurigo.sdk.NurigoApp" ))
53
65
}
54
66
55
67
from(sourceSets.main.get().output)
@@ -118,11 +130,13 @@ publishing {
118
130
developer {
119
131
name.set(" Nurigo CX Team" )
120
132
email.set(" contact@nurigo.net" )
133
+ organization.set(" Nurigo Inc" )
121
134
}
122
135
developer {
123
136
id.set(" hosy" )
124
137
name.set(" Hosy Lee" )
125
138
email.set(" hosy@nurigo.net" )
139
+ organization.set(" Nurigo Inc" )
126
140
}
127
141
}
128
142
scm {
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ import kotlinx.serialization.Serializable
4
4
5
5
@Serializable
6
6
data class DefaultAgent (
7
- val sdkVersion : String = " java/4.2.3 " ,
7
+ val sdkVersion : String = " java/4.2.4 " ,
8
8
val osPlatform : String = " ${System .getProperty(" os.name" )} | ${System .getProperty(" java.version" )} "
9
9
)
You can’t perform that action at this time.
0 commit comments