diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2016-01-26 00:59:23 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2016-01-26 00:59:23 +0100 |
commit | 7b83533249d6cbb20e5491a3f11f0305c645ec20 (patch) | |
tree | ce498921b74553e64aff254fa6202b681d9cfb4b /build.gradle | |
parent | 08b882f4cf284bed3f8f80f6e47d37037753a22b (diff) | |
download | glocals-classifieds-7b83533249d6cbb20e5491a3f11f0305c645ec20.tar.gz glocals-classifieds-7b83533249d6cbb20e5491a3f11f0305c645ec20.zip |
cleanup
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 14 |
1 files changed, 5 insertions, 9 deletions
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 |