This repository was archived by the owner on Aug 20, 2025. It is now read-only.
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
12import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23
34plugins {
45 kotlin(" jvm" ) version " 1.6.21"
56 kotlin(" plugin.serialization" ) version " 1.6.21"
67 id(" org.jetbrains.dokka" ) version " 1.6.21"
8+ id(" com.github.johnrengelman.shadow" ) version " 7.1.2"
9+ java
710 `java- library`
811 `maven- publish`
912 signing
1013}
1114
1215group = " net.nurigo"
13- version = " 4.2.3 "
16+ version = " 4.2.4 "
1417
1518repositories {
1619 mavenCentral()
@@ -35,6 +38,15 @@ java {
3538 withSourcesJar()
3639}
3740
41+ tasks.named<ShadowJar >(" shadowJar" ) {
42+ mergeServiceFiles()
43+
44+ exclude(" **/*.kotlin_metadata" )
45+ exclude(" **/*.kotlin_builtins" )
46+
47+ archiveClassifier.set(" " )
48+ }
49+
3850tasks.getByName<Test >(" test" ) {
3951 useJUnitPlatform()
4052}
@@ -49,7 +61,7 @@ tasks.withType<Jar> {
4961 duplicatesStrategy = DuplicatesStrategy .EXCLUDE
5062
5163 manifest {
52- attributes[ " Main-Class" ] = " net.nurigo.sdk.NurigoApp"
64+ attributes( mapOf ( " Main-Class" to " net.nurigo.sdk.NurigoApp" ))
5365 }
5466
5567 from(sourceSets.main.get().output)
@@ -118,11 +130,13 @@ publishing {
118130 developer {
119131 name.set(" Nurigo CX Team" )
120132 email.set(" contact@nurigo.net" )
133+ organization.set(" Nurigo Inc" )
121134 }
122135 developer {
123136 id.set(" hosy" )
124137 name.set(" Hosy Lee" )
125138 email.set(" hosy@nurigo.net" )
139+ organization.set(" Nurigo Inc" )
126140 }
127141 }
128142 scm {
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ import kotlinx.serialization.Serializable
44
55@Serializable
66data class DefaultAgent (
7- val sdkVersion : String = " java/4.2.3 " ,
7+ val sdkVersion : String = " java/4.2.4 " ,
88 val osPlatform : String = " ${System .getProperty(" os.name" )} | ${System .getProperty(" java.version" )} "
99)
You can’t perform that action at this time.
0 commit comments