-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
80 lines (68 loc) · 1.93 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
buildscript {
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
configurations.all {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
}
}
dependencies {
classpath group: 'com.techshroom', name: 'Aversion', version: '3.0.0'
}
}
plugins {
id 'net.researchgate.release' version '2.4.0'
}
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'aversion-util'
apply plugin: 'aversion-maven'
apply plugin: 'aversion-apt'
compileJava {
options.incremental = true
}
util {
javaVersion = '1.8'
}
idea.project.languageLevel = util.javaVersion
group = 'com.techshroom'
mavencfg {
description 'Tool to handle Cascade inputs and outputs.'
coords 'TechShroom', 'cascadepoet'
}
repositories {
mavenCentral()
maven {
name "snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
configurations.all {
resolutionStrategy {
failOnVersionConflict()
cacheChangingModulesFor 0, 'seconds'
force 'junit:junit:4.12', 'com.google.guava:guava:19.0', 'org.hamcrest:hamcrest-core:1.3'
}
}
dependencies {
compileOnly group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
testCompile group: 'com.google.truth', name: 'truth', version: '0.28'
testCompile group: 'com.google.testing.compile', name: 'compile-testing', version: '0.9'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'com.google.jimfs', name: 'jimfs', version: '1.0'
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.10.16'
testCompile group: 'org.eclipse.jdt.core.compiler', name: 'ecj', version: '4.4.2'
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport