summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorYves Fischer <yves.fischer@cern.ch>2016-01-25 22:14:26 +0100
committerYves Fischer <yves.fischer@cern.ch>2016-01-25 22:14:26 +0100
commit08b882f4cf284bed3f8f80f6e47d37037753a22b (patch)
treed328f7f98b079e324690f8b3fbbb0d0ee2b1ba61 /build.gradle
downloadglocals-classifieds-08b882f4cf284bed3f8f80f6e47d37037753a22b.tar.gz
glocals-classifieds-08b882f4cf284bed3f8f80f6e47d37037753a22b.zip
commit
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