-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
77 lines (63 loc) · 2.09 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
77 lines (63 loc) · 2.09 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
val kotlinVersion = "2.4.0"
plugins {
idea
kotlin("jvm") version "2.4.0"
id("com.adarshr.test-logger") version "4.0.0"
id("com.vanniktech.maven.publish") version "0.34.0"
}
group = "net.igsoft"
version = "0.6.1"
repositories {
mavenCentral()
}
kotlin {
jvmToolchain(21)
}
testlogger {
showStandardStreams = true
showFullStackTraces = false
}
tasks.test {
useJUnitPlatform()
}
mavenPublishing {
pom {
name.set("funclient")
description.set("FunClient - HTTP client - functional way")
url.set("https://github.com/aartiPl/funclient")
licenses {
license {
name.set("MIT License")
url.set("https://opensource.org/licenses/MIT")
}
}
developers {
developer {
id.set("aartiPl")
name.set("Marcin Kuszczak")
email.set("aarti@interia.pl")
}
}
scm {
connection.set("scm:git:git://https://github.com/aartiPl/funclient.git")
developerConnection.set("scm:git:ssh:https://github.com/aartiPl/funclient.git")
url.set("https://github.com/aartiPl/funclient/tree/master")
}
}
publishToMavenCentral()
signAllPublications()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0")
implementation("org.apache.commons:commons-lang3:3.20.0")
implementation("com.google.code.gson:gson:2.14.0")
val junitVersion = "6.1.0"
testImplementation("org.junit.platform:junit-platform-suite-engine:$junitVersion")
testImplementation("org.junit.platform:junit-platform-suite-api:$junitVersion")
testImplementation("org.junit.jupiter:junit-jupiter-engine:$junitVersion")
testImplementation("org.junit.jupiter:junit-jupiter-params:$junitVersion")
testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.28.1")
testImplementation("io.mockk:mockk:1.14.11")
}