-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
42 lines (33 loc) · 1.07 KB
/
build.gradle.kts
File metadata and controls
42 lines (33 loc) · 1.07 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
import org.jmailen.gradle.kotlinter.tasks.ConfigurableKtLintTask
import org.jmailen.gradle.kotlinter.tasks.FormatTask
import org.jmailen.gradle.kotlinter.tasks.LintTask
plugins {
buildsrc.convention.`kotlin-jvm`
buildsrc.convention.publishing
kotlin("plugin.serialization")
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.18.1"
}
group = rootProject.group
version = rootProject.version
dependencies {
implementation("com.squareup:kotlinpoet:2.3.0")
implementation("com.charleskorn.kaml:kaml:0.104.0")
implementation("io.ktor:ktor-client-core:3.4.1")
implementation("io.ktor:ktor-client-cio:3.4.1")
implementation("io.github.oshai:kotlin-logging:8.0.01")
implementation(projects.sharedInternal)
testImplementation("io.ktor:ktor-client-mock:3.4.1")
testImplementation(projects.githubWorkflowsKt)
}
kotlin {
explicitApi()
}
fun ConfigurableKtLintTask.kotlinterConfig() {
exclude("**/bindingsfromunittests/**")
}
tasks.withType<LintTask> {
kotlinterConfig()
}
tasks.withType<FormatTask> {
kotlinterConfig()
}