Skip to content

Commit

Permalink
Merge pull request #63 from fmjsjx/61-fix-gradle-build-warning
Browse files Browse the repository at this point in the history
Fix gradle build warning
  • Loading branch information
fmjsjx committed Sep 14, 2023
2 parents 208ef36 + 044e997 commit 1e5fa4c
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion libcommon-aliyunons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
api("com.aliyun.openservices:ons-client")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
1 change: 1 addition & 0 deletions libcommon-bson-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies {
implementation(project(":libcommon-util"))

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
testImplementation("io.mockk:mockk")
Expand Down
1 change: 1 addition & 0 deletions libcommon-bson/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies {
api("org.mongodb:mongodb-driver-core")

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
}
Expand Down
2 changes: 1 addition & 1 deletion libcommon-collection/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
api("io.netty:netty-common")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-function/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
implementation("org.slf4j:slf4j-api")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-jdbc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
implementation("org.slf4j:slf4j-api")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-json-dsljson/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
api("com.dslplatform:dsl-json-java8")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-json-fastjson2-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
api("com.alibaba.fastjson2:fastjson2-kotlin")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
1 change: 1 addition & 0 deletions libcommon-json-fastjson2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies {
"jackson2SupportImplementation"(project(":libcommon-json-jackson2"))

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
testImplementation("com.jsoniter:jsoniter")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-json-jackson2-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies {
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
1 change: 1 addition & 0 deletions libcommon-json-jackson2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies {
"jsoniterSupportApi"("com.jsoniter:jsoniter")

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
testImplementation("com.jsoniter:jsoniter")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-json-jsoniter-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
api(project(":libcommon-json-jsoniter"))

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
1 change: 1 addition & 0 deletions libcommon-json-jsoniter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies {
"fastjson2SupportImplementation"(project(":libcommon-json-fastjson2"))

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
testImplementation(project(":libcommon-json-jackson2"))
Expand Down
2 changes: 1 addition & 1 deletion libcommon-json/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
implementation("org.slf4j:slf4j-api")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
1 change: 1 addition & 0 deletions libcommon-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies {
implementation(project(":libcommon-util"))
implementation("org.jetbrains.kotlin:kotlin-reflect")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
1 change: 1 addition & 0 deletions libcommon-prometheus/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies {
api("io.prometheus:simpleclient")

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
}
Expand Down
1 change: 1 addition & 0 deletions libcommon-redis-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8")

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
testImplementation("io.mockk:mockk")
Expand Down
1 change: 1 addition & 0 deletions libcommon-redis/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
api("io.lettuce:lettuce-core")

testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")

Expand Down
2 changes: 1 addition & 1 deletion libcommon-rocketmq/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies {
implementation("io.netty:netty-handler")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-util/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
api(project(":libcommon-function"))

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down
2 changes: 1 addition & 1 deletion libcommon-yaml/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {
api("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml")

testImplementation("org.junit.jupiter:junit-jupiter-api")

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

testImplementation("org.apache.logging.log4j:log4j-slf4j-impl")
Expand Down

0 comments on commit 1e5fa4c

Please sign in to comment.