/
build.gradle.kts
42 lines (36 loc) · 1.08 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
import buildsrc.config.Deps
plugins {
buildsrc.convention.`kotlin-multiplatform`
buildsrc.convention.`mockk-publishing`
}
description = "MockK DSL providing API for MockK implementation"
val mavenName: String by extra("MockK DSL")
val mavenDescription: String by extra("${project.description}")
kotlin {
jvm()
sourceSets {
val commonMain by getting {
dependencies {
implementation(dependencies.platform(Deps.Libs.kotlinCoroutinesBom))
implementation(Deps.Libs.kotlinCoroutinesCore)
implementation(kotlin("reflect"))
implementation(projects.modules.mockkCore)
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val jvmMain by getting {
dependencies {
}
}
val jvmTest by getting {
dependencies {
implementation(kotlin("test-junit5"))
implementation(Deps.Libs.junitJupiter)
}
}
}
}