-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (43 loc) · 1.63 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
plugins {
id "com.techshroom.incise-blue" version "0.0.6"
id "net.researchgate.release" version "2.6.0"
}
apply plugin: 'java-library'
inciseBlue {
plugins {
apt
util
maven
license
}
util {
javaVersion = '1.8'
}
maven {
coords 'TechShroom', 'lettar'
description 'Routing library for Java'
}
}
configurations.all {
resolutionStrategy {
// fail eagerly on version conflict (includes transitive dependencies)
// e.g. multiple different versions of the same dependency (group and name are equal)
failOnVersionConflict()
// force certain versions of dependencies (including transitive)
force 'com.google.guava:guava:' + guavaVersion, 'com.google.code.findbugs:jsr305:3.0.1'
cacheDynamicVersionsFor 10, 'minutes'
// don't cache changing modules at all
cacheChangingModulesFor 0, 'seconds'
}
}
dependencies {
api group: 'com.techshroom', name: 'jsr305-plus', version: '0.0.1'
api group: 'com.google.guava', name: 'guava', version: project.guavaVersion
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
api(group: "org.apache.tika", name: "tika-core", version: "1.20")
aptCompileOnly group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc4'
aptCompileOnly group: 'com.google.auto.value', name: 'auto-value', version: '1.5.4'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
testImplementation group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
}