2023-03-04 12:19:01 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2023-11-12 14:37:25 +00:00
|
|
|
id 'io.freefair.sass-base' version '8.4'
|
|
|
|
id 'io.freefair.sass-java' version '8.4'
|
2023-03-04 12:19:01 +00:00
|
|
|
id 'application'
|
|
|
|
id 'jvm-test-suite'
|
2024-02-22 13:01:23 +00:00
|
|
|
|
2024-03-21 11:09:24 +00:00
|
|
|
id 'com.google.cloud.tools.jib' version '3.4.1'
|
2024-02-22 13:01:23 +00:00
|
|
|
}
|
|
|
|
|
2023-03-04 12:19:01 +00:00
|
|
|
application {
|
|
|
|
mainClass = 'nu.marginalia.search.SearchMain'
|
|
|
|
applicationName = 'search-service'
|
|
|
|
}
|
|
|
|
|
2023-03-11 10:34:51 +00:00
|
|
|
tasks.distZip.enabled = false
|
|
|
|
|
2023-03-04 12:19:01 +00:00
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
2024-04-24 11:54:04 +00:00
|
|
|
languageVersion.set(JavaLanguageVersion.of(rootProject.ext.jvmVersion))
|
2023-03-04 12:19:01 +00:00
|
|
|
}
|
|
|
|
}
|
2023-11-12 14:37:25 +00:00
|
|
|
sass {
|
|
|
|
sourceMapEnabled = true
|
|
|
|
sourceMapEmbed = true
|
|
|
|
outputStyle = EXPANDED
|
|
|
|
}
|
2024-02-22 13:01:23 +00:00
|
|
|
|
2024-02-23 15:13:40 +00:00
|
|
|
apply from: "$rootProject.projectDir/srcsets.gradle"
|
2024-02-28 10:59:15 +00:00
|
|
|
apply from: "$rootProject.projectDir/docker.gradle"
|
2024-02-23 15:13:40 +00:00
|
|
|
|
2023-03-04 12:19:01 +00:00
|
|
|
dependencies {
|
2023-03-25 14:26:17 +00:00
|
|
|
implementation project(':code:common:db')
|
2023-03-07 16:14:32 +00:00
|
|
|
implementation project(':code:common:model')
|
|
|
|
implementation project(':code:common:service')
|
|
|
|
implementation project(':code:common:config')
|
2024-02-22 17:01:35 +00:00
|
|
|
implementation project(':code:index:query')
|
2023-03-04 12:19:01 +00:00
|
|
|
|
2023-03-07 16:14:32 +00:00
|
|
|
implementation project(':code:libraries:easy-lsh')
|
|
|
|
implementation project(':code:libraries:language-processing')
|
2023-03-11 12:48:40 +00:00
|
|
|
implementation project(':code:libraries:braille-block-punch-cards')
|
2023-03-13 22:40:26 +00:00
|
|
|
implementation project(':code:libraries:term-frequency-dict')
|
2023-03-04 12:19:01 +00:00
|
|
|
|
2024-02-22 13:01:23 +00:00
|
|
|
implementation project(':code:functions:math:api')
|
|
|
|
implementation project(':code:functions:domain-info:api')
|
2024-02-22 14:27:39 +00:00
|
|
|
implementation project(':code:functions:search-query:api')
|
|
|
|
|
|
|
|
|
2024-02-22 17:01:35 +00:00
|
|
|
implementation project(':code:index:api')
|
2023-03-07 16:14:32 +00:00
|
|
|
implementation project(':code:common:renderer')
|
2023-03-04 12:19:01 +00:00
|
|
|
|
2023-03-12 09:50:31 +00:00
|
|
|
implementation project(':code:features-search:screenshots')
|
|
|
|
implementation project(':code:features-search:random-websites')
|
2023-12-26 15:21:40 +00:00
|
|
|
implementation project(':code:features-search:feedlot-client')
|
2023-03-04 12:19:01 +00:00
|
|
|
|
|
|
|
implementation libs.bundles.slf4j
|
|
|
|
|
2023-12-05 14:47:21 +00:00
|
|
|
implementation libs.roaringbitmap
|
2023-03-04 12:19:01 +00:00
|
|
|
implementation libs.prometheus
|
|
|
|
implementation libs.notnull
|
|
|
|
implementation libs.guice
|
2023-11-10 14:26:38 +00:00
|
|
|
implementation libs.handlebars
|
2023-03-04 12:19:01 +00:00
|
|
|
implementation libs.spark
|
|
|
|
implementation libs.opencsv
|
|
|
|
implementation libs.trove
|
|
|
|
implementation libs.fastutil
|
|
|
|
implementation libs.bundles.gson
|
|
|
|
implementation libs.bundles.mariadb
|
|
|
|
implementation libs.bundles.nlp
|
|
|
|
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
|
|
testImplementation libs.bundles.junit
|
|
|
|
testImplementation libs.mockito
|
|
|
|
|
|
|
|
}
|
|
|
|
|