From 7a7ebc9690a8aaddc589d34f29ced89cd9d5257a Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Mon, 13 Apr 2020 19:43:48 +0100 Subject: [PATCH] skeleton of tracker project --- .gitignore | 4 +-- settings.gradle | 1 + tracker/build.gradle | 27 +++++++++++++++++++ .../groovy/com/muwire/tracker/Tracker.groovy | 7 +++++ 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 tracker/build.gradle create mode 100644 tracker/src/main/groovy/com/muwire/tracker/Tracker.groovy diff --git a/.gitignore b/.gitignore index 4dac6676..ff5ad994 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ **/.settings **/build .gradle -.project -.classpath +**/.project +**/.classpath **/*.rej **/*.orig diff --git a/settings.gradle b/settings.gradle index 9803a55a..4ca40dca 100644 --- a/settings.gradle +++ b/settings.gradle @@ -5,5 +5,6 @@ include 'core' include 'gui' include 'cli' include 'cli-lanterna' +include 'tracker' // include 'webui' // include 'plug' diff --git a/tracker/build.gradle b/tracker/build.gradle new file mode 100644 index 00000000..f7ee12c4 --- /dev/null +++ b/tracker/build.gradle @@ -0,0 +1,27 @@ +buildscript { + + repositories { + jcenter() + mavenLocal() + } + + dependencies { + classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0' + } +} + +apply plugin : 'application' +application { + mainClassName = 'com.muwire.tracker.Tracker' + applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties','-Xmx256M'] + applicationName = 'mwtrackerd' +} + +apply plugin : 'com.github.johnrengelman.shadow' + + +dependencies { + compile project(":core") + compile 'org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:0.9.0' +} + diff --git a/tracker/src/main/groovy/com/muwire/tracker/Tracker.groovy b/tracker/src/main/groovy/com/muwire/tracker/Tracker.groovy new file mode 100644 index 00000000..69e9d127 --- /dev/null +++ b/tracker/src/main/groovy/com/muwire/tracker/Tracker.groovy @@ -0,0 +1,7 @@ +package com.muwire.tracker + +class Tracker { + public static void main(String [] args) { + println "hello from tracker" + } +}