-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
68 lines (54 loc) · 1.31 KB
/
build.gradle
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
buildscript {
apply from: "$rootDir/dependencies.gradle"
repositories {
mavenCentral()
}
dependencies {
classpath gradlePlugins.kotlin,
gradlePlugins.protobuf,
gradlePlugins.springBoot
}
}
allprojects {
defaultTasks 'clean', 'build', 'jacocoTestReport'
}
subprojects {
apply from: "$rootDir/dependencies.gradle"
apply plugin: 'kotlin'
apply plugin: 'jacoco'
group = 'org.suggs.grpcsandbox'
repositories {
mavenCentral()
}
dependencies {
implementation libs.kotlin,
libs.kotlinReflect,
libs.slf4j,
libs.grpcAll,
libs.grpcKotlin
testImplementation libs.test.junitApi,
libs.test.kotestAssertions,
libs.test.mockito
testRuntimeOnly libs.test.junitEngine,
libs.logback
}
test {
useJUnitPlatform()
}
java {
sourceCompatibility = 1.17
targetCompatibility = 1.17
}
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = 17
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = 17
}
}
}