2020-01-10 21:48:43 +08:00
|
|
|
plugins {
|
2020-01-23 03:24:37 +08:00
|
|
|
id "java-library"
|
|
|
|
id "org.springframework.boot.auto-configuration"
|
|
|
|
id "org.springframework.boot.conventions"
|
|
|
|
id "org.springframework.boot.deployed"
|
|
|
|
id "org.springframework.boot.integration-test"
|
|
|
|
id "org.springframework.boot.optional-dependencies"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
2020-01-23 03:24:37 +08:00
|
|
|
description = "Spring Boot Developer Tools"
|
2020-01-10 21:48:43 +08:00
|
|
|
|
|
|
|
configurations {
|
2020-06-16 03:51:51 +08:00
|
|
|
intTestDependencies {
|
|
|
|
extendsFrom dependencyManagement
|
|
|
|
}
|
2022-03-11 16:15:40 +08:00
|
|
|
propertyDefaults
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
propertyDefaults(file("build/resources/main/org/springframework/boot/devtools/env/devtools-property-defaults.properties")) {
|
|
|
|
builtBy(processResources)
|
|
|
|
}
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-06-03 19:55:11 +08:00
|
|
|
api(project(":spring-boot-project:spring-boot"))
|
|
|
|
api(project(":spring-boot-project:spring-boot-autoconfigure"))
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
intTestDependencies(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
intTestImplementation(project(":spring-boot-project:spring-boot-autoconfigure"))
|
|
|
|
intTestImplementation(project(":spring-boot-project:spring-boot-test"))
|
|
|
|
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
2021-11-13 01:54:32 +08:00
|
|
|
intTestImplementation("org.apache.httpcomponents:httpclient") {
|
|
|
|
exclude group: "commons-logging", module: "commons-logging"
|
|
|
|
}
|
2020-01-23 06:09:17 +08:00
|
|
|
intTestImplementation("org.assertj:assertj-core")
|
|
|
|
intTestImplementation("org.awaitility:awaitility")
|
|
|
|
intTestImplementation("org.junit.jupiter:junit-jupiter")
|
|
|
|
intTestImplementation("net.bytebuddy:byte-buddy")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
intTestRuntimeOnly("org.springframework:spring-web")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2021-10-19 09:30:37 +08:00
|
|
|
optional("io.projectreactor:reactor-core")
|
|
|
|
optional("io.r2dbc:r2dbc-spi")
|
2021-11-13 01:54:32 +08:00
|
|
|
optional("jakarta.servlet:jakarta.servlet-api")
|
2022-01-21 00:09:56 +08:00
|
|
|
optional("org.apache.derby:derbytools")
|
2022-07-09 20:43:25 +08:00
|
|
|
optional("org.hibernate.orm:hibernate-core")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework:spring-jdbc")
|
|
|
|
optional("org.springframework:spring-orm")
|
|
|
|
optional("org.springframework:spring-web")
|
|
|
|
optional("org.springframework.security:spring-security-config")
|
|
|
|
optional("org.springframework.security:spring-security-web")
|
|
|
|
optional("org.springframework.data:spring-data-redis")
|
|
|
|
optional("org.springframework.session:spring-session-core")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-test"))
|
|
|
|
testImplementation("ch.qos.logback:logback-classic")
|
|
|
|
testImplementation("com.h2database:h2")
|
|
|
|
testImplementation("com.zaxxer:HikariCP")
|
2022-01-21 00:09:56 +08:00
|
|
|
testImplementation("org.apache.derby:derby")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.apache.derby:derbyclient")
|
|
|
|
testImplementation("org.apache.tomcat.embed:tomcat-embed-websocket")
|
|
|
|
testImplementation("org.apache.tomcat.embed:tomcat-embed-core")
|
|
|
|
testImplementation("org.apache.tomcat.embed:tomcat-embed-jasper")
|
|
|
|
testImplementation("org.assertj:assertj-core")
|
|
|
|
testImplementation("org.awaitility:awaitility")
|
2021-12-01 04:32:16 +08:00
|
|
|
testImplementation("org.eclipse.jetty.websocket:websocket-jakarta-client")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.hamcrest:hamcrest-library")
|
|
|
|
testImplementation("org.hsqldb:hsqldb")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
|
|
testImplementation("org.mockito:mockito-core")
|
2020-08-08 22:53:42 +08:00
|
|
|
testImplementation("org.mockito:mockito-junit-jupiter")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.postgresql:postgresql")
|
|
|
|
testImplementation("org.springframework:spring-test")
|
|
|
|
testImplementation("org.springframework:spring-webmvc")
|
|
|
|
testImplementation("org.springframework:spring-websocket")
|
|
|
|
testImplementation("org.springframework.hateoas:spring-hateoas")
|
|
|
|
testImplementation("org.springframework.security:spring-security-test")
|
2021-11-24 02:11:55 +08:00
|
|
|
testImplementation("org.freemarker:freemarker")
|
2020-01-23 03:24:37 +08:00
|
|
|
|
2021-03-11 00:31:58 +08:00
|
|
|
testRuntimeOnly("org.aspectj:aspectjweaver")
|
2020-01-23 06:09:17 +08:00
|
|
|
testRuntimeOnly("org.yaml:snakeyaml")
|
2021-10-19 09:30:37 +08:00
|
|
|
testRuntimeOnly("io.r2dbc:r2dbc-h2")
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
2020-08-11 21:33:27 +08:00
|
|
|
task syncIntTestDependencies(type: Sync) {
|
2020-01-22 10:33:33 +08:00
|
|
|
destinationDir = file("${buildDir}/dependencies")
|
2020-01-10 21:48:43 +08:00
|
|
|
from {
|
|
|
|
configurations.intTestDependencies
|
|
|
|
}
|
|
|
|
from jar
|
|
|
|
}
|
|
|
|
|
|
|
|
intTest {
|
2020-08-11 21:33:27 +08:00
|
|
|
dependsOn syncIntTestDependencies
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|