From 5de491e5c6b7b9a54ef47361e30632a7918a3bcc Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Mon, 14 Aug 2023 14:17:23 -0400 Subject: [PATCH] Updated base project template to include repositories and sources download. --- src/main/resources/templates/bld/base/project_build.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/templates/bld/base/project_build.txt b/src/main/resources/templates/bld/base/project_build.txt index 592819d..4b171e6 100644 --- a/src/main/resources/templates/bld/base/project_build.txt +++ b/src/main/resources/templates/bld/base/project_build.txt @@ -11,6 +11,9 @@ public class {{v projectBuild/}} extends BaseProject { mainClass = "{{v package/}}.{{v projectMain/}}"; version = version(0,1,0); + downloadSources = true; + repositories = List.of(MAVEN_CENTRAL); + testOperation().mainClass("{{v package/}}.{{v projectTest/}}"); }