refactor: 重构第三方交易服务前置
chore: 支付能力配置须判断是否实现服务
diff --git a/payapi/build.gradle b/payapi/build.gradle
index 2f1eed1..7e7d2ca 100644
--- a/payapi/build.gradle
+++ b/payapi/build.gradle
@@ -52,6 +52,13 @@
docker.dependsOn(jar)
+configurations {
+ developmentOnly
+ runtimeClasspath {
+ extendsFrom developmentOnly
+ }
+}
+
dependencies {
implementation project(":payapi-common")
@@ -75,7 +82,7 @@
implementation "org.springframework.cloud:spring-cloud-starter-netflix-hystrix"
implementation "org.springframework.cloud:spring-cloud-starter-netflix-hystrix-dashboard"
- runtime("org.springframework.boot:spring-boot-devtools")
+ developmentOnly("org.springframework.boot:spring-boot-devtools")
implementation "org.thymeleaf.extras:thymeleaf-extras-springsecurity5"