-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (33 loc) · 959 Bytes
/
build.gradle
File metadata and controls
41 lines (33 loc) · 959 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
group = 'de.hhu.knife'
version = '0.0.1'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories { mavenCentral() }
dependencies {
compile 'org.projectlombok:lombok:1.16.10'
compile 'com.github.javaparser:javaparser-core:2.5.1'
compile 'com.google.code.gson:gson:2.7'
compile 'org.slf4j:slf4j-simple:1.7.21'
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'com.sparkjava:spark-core:2.5'
compile 'com.thoughtworks.qdox:qdox:2.0-M3'
testCompile 'junit:junit:4.11'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'org.mockito:mockito-all:1.9.+'
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn:javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
mainClassName = "de.hhu.knife.App"