From 081373cf07911939468401a3c1a128ee713052e3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 7 Jun 2020 16:21:46 -0700 Subject: Improve debugging experience --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 6aa6af8a7..5b7346e20 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ plugins { id "java" id "checkstyle" id "com.google.protobuf" version "0.8.11" + id 'application' } repositories { @@ -19,6 +20,11 @@ ext { sourceCompatibility = "1.8" compileJava.options.encoding = "UTF-8" +application { + mainModule = 'tracker-server.main' + mainClass = 'org.traccar.Main' +} + checkstyle { toolVersion = "8.26" configFile = "gradle/checkstyle.xml" as File -- cgit v1.2.3