-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 899 Bytes
/
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
plugins {
kotlin("jvm") version libs.versions.kotlin
id("maven-publish")
}
group = Publishing.GroupId
version = Publishing.Version
repositories {
mavenCentral()
}
dependencies {
implementation(libs.kotlin.stdlib)
implementation(libs.kotlin.coroutines)
implementation(libs.ktor.client.core)
implementation(libs.ktor.client.okhttp)
testImplementation(libs.test.assertk)
testImplementation(libs.test.junitJupiter)
testImplementation(libs.test.kotlin.coroutines)
testImplementation(libs.test.ktor.mock)
testImplementation(libs.test.mockk)
}
tasks.withType<Test> {
useJUnitPlatform()
}
publishing {
publications {
create<MavenPublication>("maven") {
artifactId = Publishing.ArtifactId
groupId = Publishing.GroupId
version = Publishing.Version
from(components["java"])
}
}
}