Skip to content

Commit

Permalink
build-改进包依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
aruis committed Sep 14, 2024
1 parent 01c12fd commit c34cf28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
testcontainers = "1.20.0"
quarkus = "3.12.3"
jdbi = "3.45.4"
yasson = "3.0.4"

[libraries]
testcontainers-postgresql = { module = "org.testcontainers:postgresql", version.ref = "testcontainers" }
quarkus-platform-bom = { module = "io.quarkus.platform:quarkus-bom", version.ref = "quarkus" }
jdbi-core = { module = "org.jdbi:jdbi3-core", version.ref = "jdbi" }
jdbi-postgres = { module = "org.jdbi:jdbi3-postgres", version.ref = "jdbi" }
jdbi-jackson2 = { module = "org.jdbi:jdbi3-jackson2", version.ref = "jdbi" }
yasson = { module = "org.eclipse:yasson", version.ref = "yasson" }


[plugins]
Expand Down
4 changes: 2 additions & 2 deletions my-database-std/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
api enforcedPlatform(libs.quarkus.platform.bom)
api project(':my-database')

api "org.eclipse:yasson:3.0.4"
api "io.quarkus:quarkus-hibernate-orm"
api libs.yasson
api "io.quarkus:quarkus-agroal"
api "io.quarkus:quarkus-jdbc-postgresql"
}
3 changes: 0 additions & 3 deletions my-database/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ plugins {

dependencies {
api libs.jdbi.core
// api libs.jdbi.postgres
// api libs.jdbi.jackson2
testImplementation 'com.h2database:h2:2.1.214'
}

0 comments on commit c34cf28

Please sign in to comment.