From 4073cd6672d52538406aaff4d69951d1785a8e18 Mon Sep 17 00:00:00 2001 From: Samuel Pastva Date: Thu, 24 Nov 2016 16:44:52 +0100 Subject: [PATCH] make gradle project executable --- application/build.gradle | 14 ++++++++++++++ build.gradle | 6 +++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/application/build.gradle b/application/build.gradle index 3ef9ee92..eff55197 100644 --- a/application/build.gradle +++ b/application/build.gradle @@ -1,3 +1,7 @@ +apply plugin: 'application' + +mainClassName = 'org.sybila.parasim.application.Main' + group = 'org.sybila.parasim.application' dependencies { @@ -15,4 +19,14 @@ dependencies { compile project(':extensions:result-export-impl') compile project(':extensions:project-manager-simple') compile project(':extensions:progress-logger') +} + +distributions { + main { + baseName = 'parasim' + } +} + +startScripts { + applicationName = 'parasim' } \ No newline at end of file diff --git a/build.gradle b/build.gradle index 1eb102fc..4d2b6302 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,10 @@ allprojects { maven { url 'http://www.ebi.ac.uk/~maven/m2repo' } // javaoctave maven { url 'https://kenai.com/svn/javaoctave~maven-repository/maven2/' } + /* + Note for IDEA users - the IDE can't find javaoctave when sychronizing with gradle. You have to download + it from url above and include it in the project manually + */ } //global configuration @@ -36,7 +40,7 @@ allprojects { testCompile group: 'junit', name: 'junit', version: '4.11' testCompile 'org.testng:testng:6.9.12' compile 'net.jcip:jcip-annotations:1.0' - compile 'javassist:javassist:3.12.1.GA' + compile 'org.javassist:javassist:3.22.0-CR1' compile 'org.slf4j:slf4j-log4j12:1.7.21' compile 'org.apache.commons:commons-lang3:3.5' }