-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (59 loc) · 1.37 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath group: 'com.techshroom', name: 'Aversion', version: '2.0.1'
}
}
plugins {
id "com.github.hierynomus.license" version "0.13.1"
id 'net.researchgate.release' version '2.4.0'
}
apply plugin: 'aversion-apt'
apply plugin: 'aversion-maven'
apply plugin: 'aversion-util'
apply plugin: 'idea'
util {
javaVersion = '1.8'
}
idea.project.languageLevel = util.javaVersion
mavencfg {
description 'Common JSR 305 Custom Annotations'
coords 'TechShroom', 'jsr305-plus'
}
configurations.all {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
}
javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
}
configure([compileJava, compileTestJava]) {
options.compilerArgs += ['-Xlint:all', '-Xlint:-path']
options.deprecation = true
options.encoding = 'UTF-8'
options.incremental = true
options.fork = true
}
license {
ext {
name = project.name
organization = project.organization
url = project.url
}
header = rootProject.file('HEADER.txt')
ignoreFailures = false
strictCheck = true
include '**/*.java'
mapping {
java = 'SLASHSTAR_STYLE'
}
}