forked from biddster/diceware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (52 loc) · 1.15 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
apply plugin: 'java'
apply plugin: 'findbugs'
apply plugin: 'license'
group = 'uk.co.biddell'
version = '1.1.5-SNAPSHOT'
description = """DiceWare"""
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
maven {
url "http://repo.maven.apache.org/maven2"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
}
findbugs {
ignoreFailures = false
toolVersion = "3.0.0"
sourceSets = [sourceSets.main]
reportsDir = file("$project.buildDir/reports/findbugs")
effort = "max"
reportLevel = "high"
}
jar {
manifest {
attributes 'Main-Class': 'uk.co.biddell.diceware.ui.DiceWareApp'
}
}
tasks.withType(Compile) {
options.encoding = 'UTF-8'
}
test {
useJUnit {
}
}
license {
header rootProject.file('LICENSE-HEADER.txt')
strictCheck true
excludes(["**/*.txt", "**/*.html", "**/*.png"])
ext.year = Calendar.getInstance().get(Calendar.YEAR)
ext.name = 'Luke Biddell'
}
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0'
}
}