Skip to content

Commit 190289c

Browse files
authored
cleanup dependencies (#801)
1 parent 14514b7 commit 190289c

File tree

7 files changed

+25
-14
lines changed

7 files changed

+25
-14
lines changed

build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,6 @@ subprojects {
8888
}
8989
}
9090

91-
dependencies {
92-
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
93-
// http://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html#configuration-metadata-annotation-processor
94-
95-
testImplementation("com.google.guava:guava")
96-
testImplementation("com.github.stefanbirkner:system-lambda")
97-
testImplementation("com.github.tomakehurst:wiremock-jre8")
98-
testImplementation("org.hibernate.validator:hibernate-validator")
99-
testImplementation("org.springframework.boot:spring-boot-starter-test") // MockHttpServletRequest
100-
testImplementation("org.springframework.boot:spring-boot-starter-logging")
101-
}
102-
10391
tasks.named("compileJava") {
10492
inputs.files(tasks.named("processResources"))
10593
}

line-bot-api-client/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ dependencies {
5656
testCompileOnly("org.projectlombok:lombok")
5757
testAnnotationProcessor("org.projectlombok:lombok")
5858

59+
testImplementation("com.github.stefanbirkner:system-lambda")
60+
testImplementation("com.github.tomakehurst:wiremock-jre8")
61+
testImplementation("org.springframework.boot:spring-boot-starter-test")
62+
5963
integrationTestCompileOnly("org.projectlombok:lombok")
6064
integrationTestAnnotationProcessor("org.projectlombok:lombok")
6165
integrationTestImplementation("com.google.guava:guava")

line-bot-cli/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ dependencies {
2424
implementation("org.springframework.boot:spring-boot-starter-web")
2525
implementation("com.google.guava:guava")
2626
implementation("org.yaml:snakeyaml")
27+
28+
testImplementation("com.github.stefanbirkner:system-lambda")
29+
testImplementation("org.springframework.boot:spring-boot-starter-test")
2730
}
2831

2932
tasks.jar {

line-bot-model/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ dependencies {
2121
implementation("com.fasterxml.jackson.module:jackson-module-parameter-names")
2222
implementation("com.google.code.findbugs:jsr305:3.0.2")
2323

24-
testImplementation("com.fasterxml.jackson.module:jackson-module-parameter-names")
2524
testImplementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
25+
testImplementation("com.fasterxml.jackson.module:jackson-module-parameter-names")
26+
testImplementation("com.google.guava:guava")
27+
testImplementation("org.springframework.boot:spring-boot-starter-test")
2628
}

line-bot-parser/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ dependencies {
1818
api(project(":line-bot-model"))
1919
implementation("com.fasterxml.jackson.core:jackson-databind")
2020
implementation("org.slf4j:slf4j-api")
21+
22+
testImplementation("com.google.guava:guava")
23+
testImplementation("org.springframework.boot:spring-boot-starter-test")
2124
}

line-bot-servlet/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ dependencies {
2222
implementation("com.google.guava:guava")
2323

2424
compileOnly("javax.servlet:javax.servlet-api")
25-
testImplementation("javax.servlet:javax.servlet-api")
2625
compileOnly("org.slf4j:slf4j-api")
26+
27+
testImplementation("javax.servlet:javax.servlet-api")
28+
testImplementation("org.springframework.boot:spring-boot-starter-test")
2729
}

line-bot-spring-boot/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,13 @@ dependencies {
2323
implementation("com.google.guava:guava")
2424

2525
compileOnly("javax.validation:validation-api")
26+
27+
testImplementation("com.github.stefanbirkner:system-lambda")
28+
testImplementation("com.github.tomakehurst:wiremock-jre8")
29+
testImplementation("org.hibernate.validator:hibernate-validator")
30+
testImplementation("org.springframework.boot:spring-boot-starter-test") // MockHttpServletRequest
31+
testImplementation("org.springframework.boot:spring-boot-starter-logging")
32+
33+
// http://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html#configuration-metadata-annotation-processor
34+
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
2635
}

0 commit comments

Comments
 (0)