7c8a60b8cf
Also optimize the rendering a bit to avoid having to allocate huge string buffers, writing directly to Spark's response instead.
25 lines
426 B
Groovy
25 lines
426 B
Groovy
plugins {
|
|
id 'java'
|
|
|
|
|
|
id 'jvm-test-suite'
|
|
}
|
|
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation libs.bundles.slf4j
|
|
|
|
implementation libs.bundles.handlebars
|
|
implementation libs.guice
|
|
implementation libs.spark
|
|
|
|
testImplementation libs.bundles.slf4j.test
|
|
testImplementation libs.bundles.junit
|
|
testImplementation libs.mockito
|
|
}
|