-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
64 lines (49 loc) · 1.32 KB
/
build.gradle
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'application'
sourceCompatibility = 1.8
mainClassName = "Main.MergeHistoryAnalyser"
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
// http://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit
//JGit
compile group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '4.3.1.201605051710-r'
compile 'org.slf4j:slf4j-simple:1.7.12'
compile 'commons-io:commons-io:2.4'
//XStream
compile 'com.thoughtworks.xstream:xstream:1.4.8'
//CLI
compile 'commons-cli:commons-cli:1.3.1'
//CSV
compile 'org.apache.commons:commons-csv:1.2'
//Gradle Tooling API
compile 'org.gradle:gradle-tooling-api:2.6'
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': 'Main.MergeHistoryAnalyser'
)
}
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
startScripts {
applicationName = rootProject.name
mainClassName = 'de.fosd.merge_history_analyser.main.MergeHistoryAnalyser'
}
run {
main = 'de.fosd.merge_history_analyser.main.MergeHistoryAnalyser'
}