2
0
Fork 0
mirror of https://github.com/ethauvin/rife2-hello.git synced 2025-04-26 07:47:13 -07:00

Small cleanup to match the manual better

This commit is contained in:
Geert Bevin 2023-03-06 18:29:18 -05:00
parent 02d5b610be
commit 122db8a40e

View file

@ -9,16 +9,18 @@ plugins {
id("org.graalvm.buildtools.native") version "0.9.20" id("org.graalvm.buildtools.native") version "0.9.20"
} }
rife2 {
version.set("1.4.0")
useAgent.set(true)
precompiledTemplateTypes.add(HTML)
}
base { base {
archivesName.set("hello") archivesName.set("hello")
version = 1.0 version = 1.0
group = "com.example" group = "com.example"
} }
application {
mainClass.set("hello.App")
}
java { java {
toolchain { toolchain {
languageVersion.set(JavaLanguageVersion.of(17)) languageVersion.set(JavaLanguageVersion.of(17))
@ -31,17 +33,15 @@ repositories {
maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") } // only needed for SNAPSHOT maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") } // only needed for SNAPSHOT
} }
rife2 {
version.set("1.4.0")
useAgent.set(true)
precompiledTemplateTypes.add(HTML)
}
dependencies { dependencies {
testImplementation("org.jsoup:jsoup:1.15.3") testImplementation("org.jsoup:jsoup:1.15.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1") testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
} }
application {
mainClass.set("hello.App")
}
tasks { tasks {
test { test {
useJUnitPlatform() useJUnitPlatform()