-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
49 lines (39 loc) · 1.02 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
group 'com.tabiul'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'findbugs'
apply plugin: "jacoco"
sourceCompatibility = 1.8
targetCompatibility = 1.8
defaultTasks = ["clean", "build", "jar"]
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.commons:commons-lang3:3.4'
testCompile group: 'junit', name: 'junit', version: '4.5'
}
jar {
sourceSets.main.java.srcDirs.each { from it }
from configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) }
manifest {
attributes "Main-Class": "com.tabiul.tamagotchi.Tamagotchi"
}
}
findbugs{
toolVersion = "3.0.1"
reportLevel = "medium"
reportsDir = file("$rootProject.projectDir/output/findbugs")
includeFilter = file("$rootProject.projectDir/config/findbugs/includeFilter.xml")
}
jacoco {
toolVersion = "0.7.0.201403182114"
reportsDir = file("$rootProject.projectDir/output/jacoco")
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled true
}
}