mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
35 lines
828 B
Groovy
35 lines
828 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'jvm-test-suite'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'nu.marginalia.SingleService'
|
|
applicationName = 'marginalia'
|
|
applicationDefaultJvmArgs = [ "--enable-preview" ]
|
|
}
|
|
|
|
tasks.distZip.enabled = false
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(rootProject.ext.jvmVersion))
|
|
}
|
|
}
|
|
|
|
apply from: "$rootProject.projectDir/srcsets.gradle"
|
|
|
|
dependencies {
|
|
implementation project(':code:services-core:query-service')
|
|
implementation project(':code:services-core:index-service')
|
|
implementation project(':code:services-core:control-service')
|
|
implementation project(':code:services-core:executor-service')
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
testImplementation libs.bundles.junit
|
|
testImplementation libs.mockito
|
|
|
|
}
|
|
|