Skip to content

Commit

Permalink
refactor: dependency management (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang authored Aug 4, 2023
1 parent 2ffff7e commit b58f224
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion cosid-benchmark/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
[versions]
cosid = "2.4.0"
jmh = "1.37"
junit="5.10.0"
hikariCP = "5.0.1"
mysql="8.0.33"

jmhPlugin = "0.7.1"

[libraries]
cosidBom = { module = "me.ahoo.cosid:cosid-bom", version.ref = "cosid" }
cosidBom = { module = "me.ahoo.cosid:cosid-bom", version.ref = "cosid" }
hikariCP = { module = "com.zaxxer:HikariCP", version.ref = "hikariCP" }
mysql = { module = "mysql:mysql-connector-java", version.ref = "mysql" }
jmhCore = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }
jmhGeneratorAnnprocess = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
junitJupiterApi = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
junitJupiterParams = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit" }
junitJupiterEngine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }

[plugins]
jmhPlugin = { id = "me.champeau.jmh", version.ref = "jmhPlugin" }
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class SwaggerConfiguration {

@Bean
public OpenApiCustomizer openApiCustomizer() {
var version = MoreObjects.firstNonNull(getClass().getPackage().getImplementationVersion(), "2.3.0");
var version = MoreObjects.firstNonNull(getClass().getPackage().getImplementationVersion(), "2.4.0");
return openApi -> {
var info = new Info()
.title("CosId Proxy Server")
Expand Down

0 comments on commit b58f224

Please sign in to comment.