-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
60 lines (53 loc) · 1.7 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
plugins {
kotlin("jvm") version "1.8.20"
`maven-publish`
}
repositories {
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.5.5")
testImplementation("io.kotest:kotest-property:5.5.5")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.9.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "dev.hvpaiva"
artifactId = "compare-with"
version = "1.0.0"
pom {
name.set("Compare With")
description.set("Simplified Comparisons in Kotlin")
url.set("https://github.com/hvpaiva/compare-with")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("hvpaiva")
name.set("Highlander Paiva")
email.set("[email protected]")
}
}
scm {
connection.set("scm:git:git://github.com/hvpaiva/compare-with.git")
developerConnection.set("scm:git:ssh://github.com/hvpaiva/compare-with.git")
url.set("https://github.com/hvpaiva/compare-with/")
}
}
from(components["java"])
}
}
}