forked from hiero-ledger/hiero-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
61 lines (53 loc) · 2.96 KB
/
build.gradle.kts
File metadata and controls
61 lines (53 loc) · 2.96 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// SPDX-License-Identifier: Apache-2.0
group = "org.hiero"
val bouncycastle = "1.83"
val grpc = "1.80.0"
val protobuf = "4.34.1"
val slf4j = "2.0.17"
val mockito = "5.23.0"
dependencies {
api(platform("org.springframework.boot:spring-boot-dependencies:4.0.4"))
api(platform("io.netty:netty-bom:4.2.10.Final"))
}
dependencies.constraints {
api("com.esaulpaugh:headlong:13.3.1") { because("com.esaulpaugh.headlong") }
api("com.google.code.findbugs:jsr305:3.0.2") { because("java.annotation") }
api("com.google.code.gson:gson:2.13.2") { because("com.google.gson") }
api("com.google.protobuf:protobuf-java:$protobuf") { because("com.google.protobuf") }
api("com.google.protobuf:protobuf-javalite:$protobuf") { because("com.google.protobuf") }
api("io.grpc:grpc-api:$grpc") { because("io.grpc") }
api("io.grpc:grpc-inprocess:$grpc") { because("io.grpc.inprocess") }
api("io.grpc:grpc-protobuf-lite:$grpc") { because("io.grpc.protobuf.lite") }
api("io.grpc:grpc-protobuf:$grpc") { because("io.grpc.protobuf") }
api("io.grpc:grpc-stub:$grpc") { because("io.grpc.stub") }
api("io.grpc:grpc-netty:$grpc")
api("io.grpc:grpc-netty-shaded:$grpc")
api("io.grpc:grpc-okhttp:$grpc")
api("org.bouncycastle:bcpkix-jdk18on:$bouncycastle") { because("org.bouncycastle.pkix") }
api("org.bouncycastle:bcprov-jdk18on:$bouncycastle") { because("org.bouncycastle.provider") }
api("org.slf4j:slf4j-api:$slf4j") { because("org.slf4j") }
// Testing
api("com.fasterxml.jackson.core:jackson-core:2.21.2") { because("com.fasterxml.jackson.core") }
api("com.google.guava:guava:33.5.0-android") { because("com.google.common") }
api("io.github.json-snapshot:json-snapshot:1.0.17") { because("json.snapshot") }
api("org.apache.commons:commons-lang3:3.20.0") { because("org.apache.commons.lang3") }
api("org.assertj:assertj-core:3.27.7") { because("org.assertj.core") }
api("org.junit.jupiter:junit-jupiter-api:6.0.3") { because("org.junit.jupiter.api") }
api("org.mockito:mockito-core:$mockito") { because("org.mockito") }
api("org.mockito:mockito-junit-jupiter:$mockito") { because("org.mockito.junit.jupiter") }
api("com.google.protobuf:protoc:$protobuf")
api("io.grpc:protoc-gen-grpc-java:$grpc")
api("com.thetransactioncompany:jsonrpc2-server:2.0")
// Temporary override until spring-boot-dependencies bumps Jackson 3.x to 3.1.0+
// Fixes SNYK-JAVA-TOOLSJACKSONCORE-15365915 and SNYK-JAVA-TOOLSJACKSONCORE-15371178
api("tools.jackson.core:jackson-core:3.1.0")
api("tools.jackson.core:jackson-databind:3.1.0")
tasks.checkVersionConsistency {
// Versions of additional tools that are not part of the product or test module paths
excludes.add("com.google.protobuf:protoc")
excludes.add("io.grpc:protoc-gen-grpc-java")
// Versions that are not used but published as constraints for users
excludes.add("io.grpc:grpc-netty")
excludes.add("io.grpc:grpc-okhttp")
}
}