-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
39 lines (36 loc) · 1.29 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
plugins {
id 'com.diffplug.blowdryer'
id 'com.diffplug.spotless'
id 'com.diffplug.spotless-changelog'
id 'com.gradle.plugin-publish'
id 'io.github.gradle-nexus.publish-plugin'
id "com.palantir.idea-test-fix" version "0.1.0" // Added to run tests successfully in IntelliJ
}
apply from: 干.file('base/changelog.gradle')
apply from: 干.file('base/java.gradle')
apply from: 干.file('spotless/freshmark.gradle')
apply from: 干.file('spotless/java.gradle')
apply from: 干.file('base/gradle-plugin.gradle')
apply from: 干.file('base/maven.gradle')
apply from: 干.file('base/sonatype.gradle')
tasks.named('spotlessFreshmark') {
if (JavaVersion.current().isJava12Compatible()) {
enabled = false
}
}
if (System.properties['os.name'].toLowerCase().contains('windows')) {
tasks.named('javadoc') {
enabled = false
}
}
dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'com.squareup.okio:okio:3.3.0'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.diffplug.durian:durian-core:1.2.0'
implementation 'com.diffplug.durian:durian-io:1.2.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.mockito:mockito-core:4.11.0'
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.35.0'
}