summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle28
1 files changed, 28 insertions, 0 deletions
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