-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathbuild.gradle.kts
46 lines (40 loc) · 1.42 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
// SPDX-License-Identifier: Apache-2.0
plugins {
id("org.springframework.boot") version "3.2.3"
id("org.hiero.gradle.module.application")
id("org.hiero.gradle.feature.legacy-classpath")
}
description = "Hiero SDK TCK Server"
version = "0.0.1"
mainModuleInfo {
requires("com.thetransactioncompany.jsonrpc2.base")
requires("com.thetransactioncompany.jsonrpc2.server")
requires("net.minidev.json.smart")
requires("org.apache.tomcat.embed.core")
requires("org.bouncycastle.provider")
requires("org.hiero.sdk")
requires("org.slf4j")
requires("spring.boot")
requires("spring.boot.autoconfigure")
requires("spring.context")
requires("spring.web")
requires("spring.webmvc")
requiresStatic("lombok")
annotationProcessor("lombok")
runtimeOnly("io.grpc.netty.shaded")
runtimeOnly("spring.boot.starter.web")
}
testModuleInfo {
requires("org.junit.jupiter.api")
requires("org.mockito")
requires("org.mockito.junit.jupiter")
}
// 'protobuf' implementation provided through 'sdk' as it differs between 'sdk' and 'sdk-full'
dependencyAnalysis {
issues { onUsedTransitiveDependencies { exclude("com.google.protobuf:protobuf-javalite") } }
}
// Configure spring boot specific classpath to access module versions
configurations.productionRuntimeClasspath {
@Suppress("UnstableApiUsage")
shouldResolveConsistentlyWith(configurations.mainRuntimeClasspath.get())
}