forked from yahoojapan/yconnect-servlet-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (43 loc) · 1.16 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
plugins {
id 'java-library'
id "com.diffplug.spotless" version "6.11.0"
}
jar.baseName 'jp.co.yahoo.yconnect'
version '3.0.0'
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks.withType(JavaCompile) {
options.encoding("UTF-8")
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mock-server:mockserver-client-java:5.14.0'
testImplementation 'org.mock-server:mockserver-junit-rule:5.14.0'
implementation 'javax.json:javax.json-api:1.1.4'
implementation 'javax.servlet:servlet-api:2.5'
implementation 'org.apache.logging.log4j:log4j-api:2.19.0'
implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
implementation 'org.glassfish:javax.json:1.1.4'
}
sourceSets {
main {
java {
srcDir 'YConnectServletSDK/src'
}
}
}
spotless {
java {
target('YConnectServletSDK/src/**/*.java', 'YConnectServletSDK/test/src/**/*.java')
importOrder()
removeUnusedImports()
googleJavaFormat().aosp()
}
}