You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2026/08/10 18:41:39 UTC
(freemarker-online-tester) 03/03: Gradle: Added run task for local testing
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch java17
in repository https://gitbox.apache.org/repos/asf/freemarker-online-tester.git
commit c534657d355a102ce0ef6bcf1012e25150b2d802
Author: ddekany <dd...@apache.org>
AuthorDate: Mon Aug 10 19:59:54 2026 +0200
Gradle: Added run task for local testing
---
build.gradle | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 6452e16..43b626d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -29,6 +29,7 @@ apply plugin: 'jacoco'
apply plugin: 'project-report'
apply plugin: 'com.gradleup.shadow'
apply plugin: "com.github.kt3k.coveralls"
+apply plugin: "application"
project.sourceCompatibility = "17"
project.targetCompatibility = "17"
@@ -62,7 +63,6 @@ configurations {
dependencies {
implementation libs.dropwizard
- implementation libs.dropwizard.views
implementation libs.dropwizard.views.freemarker
implementation libs.dropwizard.configurable.assets
implementation libs.dropwizard.bundles.redirect
@@ -112,6 +112,14 @@ jacocoTestReport {
}
}
+application {
+ mainClassName = "org.apache.freemarker.onlinetester.dropwizard.FreeMarkerOnlineTester"
+}
+
+run {
+ args += ["server", "src/main/resources/freemarker-online.yml"]
+}
+
tasks.register('rat') {
doLast {
ant.taskdef(