20 changed files with 79 additions and 34 deletions
@ -0,0 +1,43 @@ |
|||||||
|
/* |
||||||
|
* Copyright 2012-present the original author or authors. |
||||||
|
* |
||||||
|
* Licensed under the Apache License, Version 2.0 (the License); |
||||||
|
* you may not use this file except in compliance with the License. |
||||||
|
* You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* https://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
|
||||||
|
|
||||||
|
plugins { |
||||||
|
id "java-library" |
||||||
|
id "org.springframework.boot.auto-configuration" |
||||||
|
id "org.springframework.boot.configuration-properties" |
||||||
|
id "org.springframework.boot.deployed" |
||||||
|
id "org.springframework.boot.optional-dependencies" |
||||||
|
} |
||||||
|
|
||||||
|
description = "Spring Boot Data R2DBC" |
||||||
|
|
||||||
|
dependencies { |
||||||
|
api(project(":spring-boot-project:spring-boot-r2dbc")) |
||||||
|
api("io.r2dbc:r2dbc-spi") |
||||||
|
api("io.r2dbc:r2dbc-pool") |
||||||
|
api("org.springframework.data:spring-data-r2dbc") |
||||||
|
|
||||||
|
optional(project(":spring-boot-project:spring-boot-autoconfigure")) |
||||||
|
|
||||||
|
testImplementation(project(":spring-boot-project:spring-boot-test")) |
||||||
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")) |
||||||
|
testImplementation(testFixtures(project(":spring-boot-project:spring-boot-autoconfigure"))) |
||||||
|
testImplementation("io.projectreactor:reactor-test") |
||||||
|
testImplementation("io.r2dbc:r2dbc-h2") |
||||||
|
|
||||||
|
testRuntimeOnly("ch.qos.logback:logback-classic") |
||||||
|
} |
||||||
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcRepositoriesAutoConfiguration.java → spring-boot-project/spring-boot-data-r2dbc/src/main/java/org/springframework/boot/data/r2dbc/autoconfigure/R2dbcRepositoriesAutoConfiguration.java
4
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcRepositoriesAutoConfiguration.java → spring-boot-project/spring-boot-data-r2dbc/src/main/java/org/springframework/boot/data/r2dbc/autoconfigure/R2dbcRepositoriesAutoConfiguration.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcRepositoriesAutoConfigureRegistrar.java → spring-boot-project/spring-boot-data-r2dbc/src/main/java/org/springframework/boot/data/r2dbc/autoconfigure/R2dbcRepositoriesAutoConfigureRegistrar.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcRepositoriesAutoConfigureRegistrar.java → spring-boot-project/spring-boot-data-r2dbc/src/main/java/org/springframework/boot/data/r2dbc/autoconfigure/R2dbcRepositoriesAutoConfigureRegistrar.java
@ -0,0 +1,11 @@ |
|||||||
|
{ |
||||||
|
"groups": [], |
||||||
|
"properties": [ |
||||||
|
{ |
||||||
|
"name": "spring.data.r2dbc.repositories.enabled", |
||||||
|
"type": "java.lang.Boolean", |
||||||
|
"description": "Whether to enable R2DBC repositories.", |
||||||
|
"defaultValue": true |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
@ -0,0 +1,2 @@ |
|||||||
|
org.springframework.boot.data.r2dbc.autoconfigure.R2dbcDataAutoConfiguration |
||||||
|
org.springframework.boot.data.r2dbc.autoconfigure.R2dbcRepositoriesAutoConfiguration |
||||||
8
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcRepositoriesAutoConfigurationTests.java → spring-boot-project/spring-boot-data-r2dbc/src/test/java/org/springframework/boot/data/r2dbc/autoconfigure/R2dbcRepositoriesAutoConfigurationTests.java
8
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/data/r2dbc/R2dbcRepositoriesAutoConfigurationTests.java → spring-boot-project/spring-boot-data-r2dbc/src/test/java/org/springframework/boot/data/r2dbc/autoconfigure/R2dbcRepositoriesAutoConfigurationTests.java
Loading…
Reference in new issue