summaryrefslogtreecommitdiff
path: root/build.gradle
blob: 4515d375f13714e8e8756743c051656ee247b2cf (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
29
30
group 'org.xapek.yvesf'
version '1.0-SNAPSHOT'

apply plugin: 'groovy'
apply plugin: 'application'

mainClassName = 'org.xapek.yvesf.classifieds.Main'

repositories {
  mavenCentral()
  maven {
    url 'https://oss.sonatype.org/content/repositories/snapshots/'
  }
}

dependencies {
  compile 'org.codehaus.groovy:groovy-all:2.4.5'
  compile 'org.codehaus.groovy:http-builder:0.4.1'
  testCompile group: 'junit', name: 'junit', version: '4.11'
}

run {
  args('src/test/resources/org/xapek/yvesf/classifieds/test.json')
}

jar {
  manifest {
    attributes 'Main-Class': mainClassName
  }
}