2020-01-10 21:48:43 +08:00
|
|
|
plugins {
|
2020-01-23 03:24:37 +08:00
|
|
|
id "java-library"
|
|
|
|
id "org.springframework.boot.conventions"
|
|
|
|
id "org.springframework.boot.deployed"
|
|
|
|
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 Test AutoConfigure"
|
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-test"))
|
|
|
|
api(project(":spring-boot-project:spring-boot-autoconfigure"))
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("javax.json.bind:javax.json.bind-api")
|
|
|
|
optional("javax.servlet:javax.servlet-api")
|
|
|
|
optional("javax.transaction:javax.transaction-api")
|
|
|
|
optional("com.fasterxml.jackson.core:jackson-databind")
|
|
|
|
optional("com.google.code.gson:gson")
|
|
|
|
optional("com.jayway.jsonpath:json-path")
|
2020-05-14 16:53:16 +08:00
|
|
|
optional("com.sun.xml.messaging.saaj:saaj-impl")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("io.rest-assured:rest-assured")
|
|
|
|
optional("net.sourceforge.htmlunit:htmlunit")
|
|
|
|
optional("org.hibernate:hibernate-core")
|
|
|
|
optional("org.junit.jupiter:junit-jupiter-api")
|
|
|
|
optional("org.seleniumhq.selenium:htmlunit-driver")
|
|
|
|
optional("org.seleniumhq.selenium:selenium-api")
|
|
|
|
optional("org.springframework:spring-orm")
|
|
|
|
optional("org.springframework:spring-test")
|
|
|
|
optional("org.springframework:spring-web")
|
|
|
|
optional("org.springframework:spring-webmvc")
|
|
|
|
optional("org.springframework:spring-webflux")
|
|
|
|
optional("org.springframework.data:spring-data-jdbc")
|
|
|
|
optional("org.springframework.data:spring-data-jpa")
|
|
|
|
optional("org.springframework.data:spring-data-ldap")
|
|
|
|
optional("org.springframework.data:spring-data-mongodb")
|
|
|
|
optional("org.springframework.data:spring-data-neo4j")
|
2020-02-20 17:22:15 +08:00
|
|
|
optional("org.springframework.data:spring-data-r2dbc")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.springframework.data:spring-data-redis")
|
|
|
|
optional("org.springframework.restdocs:spring-restdocs-mockmvc")
|
|
|
|
optional("org.springframework.restdocs:spring-restdocs-restassured")
|
|
|
|
optional("org.springframework.restdocs:spring-restdocs-webtestclient")
|
|
|
|
optional("org.springframework.security:spring-security-config")
|
|
|
|
optional("org.springframework.security:spring-security-test")
|
2019-06-19 22:48:38 +08:00
|
|
|
optional("org.springframework.ws:spring-ws-core")
|
|
|
|
optional("org.springframework.ws:spring-ws-test")
|
2020-01-23 06:09:17 +08:00
|
|
|
optional("org.apache.tomcat.embed:tomcat-embed-core")
|
|
|
|
optional("org.mongodb:mongodb-driver-reactivestreams")
|
2020-01-29 00:29:21 +08:00
|
|
|
optional("org.mongodb:mongodb-driver-sync")
|
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("ch.qos.logback:logback-classic")
|
|
|
|
testImplementation("com.fasterxml.jackson.module:jackson-module-parameter-names")
|
|
|
|
testImplementation("com.h2database:h2")
|
|
|
|
testImplementation("com.unboundid:unboundid-ldapsdk")
|
|
|
|
testImplementation("de.flapdoodle.embed:de.flapdoodle.embed.mongo")
|
|
|
|
testImplementation("io.lettuce:lettuce-core")
|
|
|
|
testImplementation("io.projectreactor:reactor-core")
|
2020-02-20 17:22:15 +08:00
|
|
|
testImplementation("io.projectreactor:reactor-test")
|
|
|
|
testImplementation("io.r2dbc:r2dbc-h2")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("javax.json:javax.json-api")
|
|
|
|
testImplementation("org.apache.commons:commons-pool2")
|
|
|
|
testImplementation("org.apache.johnzon:johnzon-jsonb")
|
|
|
|
testImplementation("org.apache.tomcat.embed:tomcat-embed-el")
|
|
|
|
testImplementation("org.aspectj:aspectjrt")
|
|
|
|
testImplementation("org.aspectj:aspectjweaver")
|
|
|
|
testImplementation("org.assertj:assertj-core")
|
2020-04-30 22:05:23 +08:00
|
|
|
testImplementation("org.awaitility:awaitility")
|
2020-01-23 06:09:17 +08:00
|
|
|
testImplementation("org.hibernate.validator:hibernate-validator")
|
|
|
|
testImplementation("org.hsqldb:hsqldb")
|
|
|
|
testImplementation("org.jooq:jooq")
|
|
|
|
testImplementation("org.junit.platform:junit-platform-engine")
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
|
|
testImplementation("org.mockito:mockito-core")
|
|
|
|
testImplementation("org.skyscreamer:jsonassert")
|
|
|
|
testImplementation("org.springframework.hateoas:spring-hateoas")
|
|
|
|
testImplementation("org.springframework.plugin:spring-plugin-core")
|
|
|
|
testImplementation("org.testcontainers:junit-jupiter")
|
|
|
|
testImplementation("org.testcontainers:neo4j")
|
|
|
|
testImplementation("org.testcontainers:testcontainers")
|
2020-01-10 21:48:43 +08:00
|
|
|
|
2020-01-23 06:09:17 +08:00
|
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
2020-01-23 03:24:37 +08:00
|
|
|
include "**/*Tests.class"
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
task testSliceMetadata(type: org.springframework.boot.build.test.autoconfigure.TestSliceMetadata) {
|
|
|
|
sourceSet = sourceSets.main
|
2020-01-22 10:33:33 +08:00
|
|
|
outputFile = file("${buildDir}/test-slice-metadata.properties")
|
2020-01-10 21:48:43 +08:00
|
|
|
}
|