-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
62 lines (50 loc) · 1.65 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import com.vanniktech.maven.publish.SonatypeHost
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.maven.publish)
}
group = "com.cheonjaeung.gson"
version = "1.0.0"
kotlin {
jvmToolchain(8)
}
repositories {
mavenCentral()
}
dependencies {
api(libs.gson)
api(libs.kotlinx.collections.immutable)
testImplementation(libs.junit)
testRuntimeOnly(libs.junit.engine)
}
tasks.test {
useJUnitPlatform()
}
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
signAllPublications()
coordinates("${project.group}", "kotlinx-collections-immutable-adapter", "${project.version}")
pom {
name.set("Gson Kotlin Immutable Collections Type Adapter")
description.set("A Gson type adapter library to deserialize Kotlin immutable collections.")
url.set("https://github.com/cheonjaeung/gson-kotlinx-collections-immutable-adapter")
licenses {
license {
name.set("Apache License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("cheonjaeung")
name.set("Cheon Jaeung")
email.set("[email protected]")
}
}
scm {
url.set("https://github.com/cheonjaeung/gson-kotlinx-collections-immutable-adapter")
connection.set("scm:git:git://github.com/cheonjaeung/gson-kotlinx-collections-immutable-adapter.git")
developerConnection.set("scm:git:ssh://[email protected]/cheonjaeung/gson-kotlinx-collections-immutable-adapter.git")
}
}
}