-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
57 lines (41 loc) · 1.15 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
plugins {
kotlin("jvm") version "2.0.0"
kotlin("plugin.serialization") version "2.0.0"
id("application")
}
group = "io.github.vootelerotov"
version = "0.0.3"
repositories {
mavenCentral()
}
val grpcVersion = "1.65.0"
dependencies {
implementation("io.github.oshai:kotlin-logging:7.0.0")
implementation("org.apache.avro:avro:1.11.3")
implementation("io.pact.plugin.driver:core:0.4.2")
implementation("io.grpc:grpc-protobuf:$grpcVersion")
implementation("io.grpc:grpc-core:$grpcVersion")
implementation("io.grpc:grpc-stub:$grpcVersion")
implementation("io.grpc:grpc-netty:$grpcVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1")
testImplementation("org.jetbrains.kotlin:kotlin-test")
}
tasks.test {
useJUnitPlatform()
}
application {
mainClass = "io.github.vootelerotov.avro.schema.contract.PluginAppKt"
}
distributions {
main {
distributionBaseName = "avro-schema-as-pact-contract"
contents {
from("${project.layout.projectDirectory}/pact-plugin.json") {
into("")
}
}
}
}
kotlin {
jvmToolchain(17)
}