2023-10-08 20:22:26 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2024-02-22 14:27:39 +00:00
|
|
|
|
|
|
|
id "com.google.protobuf" version "0.9.4"
|
2023-10-08 20:22:26 +00:00
|
|
|
id 'jvm-test-suite'
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
2024-04-24 11:54:04 +00:00
|
|
|
languageVersion.set(JavaLanguageVersion.of(rootProject.ext.jvmVersion))
|
2023-10-08 20:22:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-22 14:27:39 +00:00
|
|
|
jar.archiveBaseName = 'search-query-api'
|
|
|
|
|
|
|
|
|
|
|
|
apply from: "$rootProject.projectDir/protobuf.gradle"
|
|
|
|
|
2024-02-23 15:13:40 +00:00
|
|
|
apply from: "$rootProject.projectDir/srcsets.gradle"
|
|
|
|
|
2023-10-08 20:22:26 +00:00
|
|
|
dependencies {
|
|
|
|
implementation project(':code:common:model')
|
|
|
|
implementation project(':code:common:config')
|
2024-03-03 09:49:23 +00:00
|
|
|
implementation project(':code:common:service')
|
2024-02-22 17:01:35 +00:00
|
|
|
implementation project(':code:index:query')
|
2024-06-26 10:22:06 +00:00
|
|
|
implementation project(':code:libraries:language-processing')
|
2023-10-08 20:22:26 +00:00
|
|
|
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
|
|
|
implementation libs.prometheus
|
|
|
|
implementation libs.notnull
|
2024-05-23 12:20:01 +00:00
|
|
|
implementation libs.guava
|
|
|
|
implementation dependencies.create(libs.guice.get()) {
|
|
|
|
exclude group: 'com.google.guava'
|
|
|
|
}
|
2023-10-08 20:22:26 +00:00
|
|
|
implementation libs.gson
|
2024-04-04 18:17:58 +00:00
|
|
|
implementation libs.commons.lang3
|
2024-03-03 09:49:23 +00:00
|
|
|
implementation libs.bundles.protobuf
|
2024-05-23 12:20:01 +00:00
|
|
|
implementation libs.guava
|
|
|
|
libs.bundles.grpc.get().each {
|
|
|
|
implementation dependencies.create(it) {
|
|
|
|
exclude group: 'com.google.guava'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-02-22 14:27:39 +00:00
|
|
|
implementation libs.fastutil
|
2023-10-08 20:22:26 +00:00
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
|
|
|
|
}
|