diff options
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 |