From 7b83533249d6cbb20e5491a3f11f0305c645ec20 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 26 Jan 2016 00:59:23 +0100 Subject: cleanup --- build.gradle | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index c000567..f2a19b4 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,9 @@ group 'org.xapek.yvesf' version '1.0-SNAPSHOT' apply plugin: 'groovy' +apply plugin: 'application' + +mainClassName = 'org.xapek.yvesf.classifieds.Main' repositories { mavenCentral() @@ -16,13 +19,6 @@ dependencies { testCompile group: 'junit', name: 'junit', version: '4.11' } -jar { - manifest { - attributes 'Main-Class': 'org.xapek.yvesf.classifieds.ClassifiedParserMain' - } -} - -task run(type: JavaExec) { - main('org.xapek.yvesf.classifieds.ClassifiedParserMain') - classpath(jar.archiveName) +run { + args('test.json') } \ No newline at end of file -- cgit v1.2.1