-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (46 loc) · 1.71 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
plugins {
id 'com.diffplug.blowdryer'
id 'com.diffplug.spotless-changelog'
}
spotlessChangelog {
changelogFile 'CHANGES.md'
}
apply from: 干.file('base/changelog.gradle')
apply plugin: 'java-library'
apply from: 干.file('base/java8.gradle')
apply from: 干.file('base/kotlin.gradle')
apply from: 干.file('spotless/freshmark.gradle')
apply from: 干.file('spotless/java.gradle')
def VER_DURIAN='1.2.0'
def VER_DURIAN_DEBUG='1.0.0'
def VER_RXJAVA='2.0.0'
def VER_JUNIT='4.12'
dependencies {
implementation "com.diffplug.durian:durian-core:${VER_DURIAN}"
implementation "com.diffplug.durian:durian-concurrent:${VER_DURIAN}"
api "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.2"
api "io.reactivex.rxjava2:rxjava:${VER_RXJAVA}"
testImplementation "junit:junit:${VER_JUNIT}"
testImplementation "com.diffplug.durian:durian-testlib:${VER_DURIAN}"
testImplementation "com.diffplug.durian:durian-debug:${VER_DURIAN_DEBUG}"
}
ext.javadoc_links = [
"https://javadoc.io/doc/com.diffplug.durian/durian-core/${VER_DURIAN}",
"https://javadoc.io/doc/com.diffplug.durian/durian-collect/${VER_DURIAN}",
"https://javadoc.io/doc/com.diffplug.durian/durian-concurrent/${VER_DURIAN}",
"https://javadoc.io/doc/com.diffplug.durian/durian-debug/${VER_DURIAN_DEBUG}",
"https://javadoc.io/doc/io.reactivex.rxjava2/rxjava/${VER_RXJAVA}",
'https://docs.oracle.com/javase/8/docs/api/'
].join(' ')
apply from: 干.file('base/maven.gradle')
apply from: 干.file('base/sonatype.gradle')
////////////////////////
// SPOTBUGS (someday) //
////////////////////////
dependencies {
compileOnly 'com.google.code.findbugs:annotations:3.0.0'
compileOnly 'com.google.code.findbugs:jsr305:3.0.0'
}
configurations {
testImplementation.extendsFrom compileOnly
}