From 08b882f4cf284bed3f8f80f6e47d37037753a22b Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 25 Jan 2016 22:14:26 +0100 Subject: commit --- build.gradle | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 build.gradle (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..c000567 --- /dev/null +++ b/build.gradle @@ -0,0 +1,28 @@ +group 'org.xapek.yvesf' +version '1.0-SNAPSHOT' + +apply plugin: 'groovy' + +repositories { + mavenCentral() + maven { + url 'https://oss.sonatype.org/content/repositories/snapshots/' + } +} + +dependencies { + compile 'org.codehaus.groovy:groovy-all:2.3.11' + compile 'org.codehaus.groovy:http-builder:0.4.1' + 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) +} \ No newline at end of file -- cgit v1.2.1