summaryrefslogtreecommitdiff
path: root/build.gradle
blob: c000567b88063a81b6ae6c2752207370596c7d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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)
}