Skip to content

Commit

Permalink
migrating to version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
yannicklamprecht committed Sep 25, 2024
1 parent 90fe153 commit ba807cc
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 18 deletions.
26 changes: 8 additions & 18 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id("org.springframework.boot") version "3.3.4"
id("io.spring.dependency-management") version "1.1.6"
alias(libs.plugins.spring.boot)
alias(libs.plugins.spring.dependency.management)
java
id("com.github.ben-manes.versions") version "0.51.0"
alias(libs.plugins.dependency.version.checker)
}

group = "com.github.devcordde"
Expand All @@ -19,13 +19,8 @@ repositories {
mavenCentral()
}

dependencyManagement {
imports {
mavenBom("org.springframework.boot:spring-boot-dependencies:3.3.4")
}
}

dependencies {
implementation(platform(libs.spring.boot.dependencies))
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-actuator")
Expand All @@ -34,23 +29,18 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
implementation("org.thymeleaf.extras:thymeleaf-extras-springsecurity6")
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
implementation("com.google.code.findbugs:jsr305:3.0.2")
implementation(libs.find.bugs)

implementation("org.webjars:webjars-locator:0.52")
implementation("org.webjars:webjars-locator-core:0.59")
implementation(libs.webjars.locator)
implementation(libs.webjars.locator.core)

runtimeOnly("org.webjars.npm:vue:2.7.16") {
runtimeOnly(libs.vue) {
exclude(group = "org.webjars.npm", module = "vue__compiler-sfc")
}
runtimeOnly("org.webjars.npm:vuetify:2.7.0")
runtimeOnly("org.webjars.npm:vue-router:3.5.3")
implementation("org.webjars:material-design-icons:4.0.0")






compileOnly("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")

Expand Down
40 changes: 40 additions & 0 deletions app/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[versions]


spring-dependency-management = "1.1.6"
dependency-version-checker = "0.51.0"


spring-boot = "3.3.4"
jsr = "3.0.2"

webjars-locator = "0.52"
webjars-locator-core = "0.59"

vue = "2.7.16"
vue-router = "3.5.3"
vuetify = "2.7.0"
material-design-icons = "4.0.0"



[libraries]

find-bugs = { group = "com.google.code.findbugs", name = "jsr305", version.ref = "jsr" }

webjars-locator = { group = "org.webjars", name = "webjars-locator", version.ref = "webjars-locator" }
webjars-locator-core = { group = "org.webjars", name = "webjars-locator-core", version.ref = "webjars-locator-core" }

vue = { group = "org.webjars.npm", name = "vue", version.ref = "vue" }



spring-boot-dependencies = { group = "org.springframework.boot", name = "spring-boot-dependencies", version.ref = "spring-boot" }



[plugins]

spring-boot = { id = "org.springframework.boot", version.ref = "spring-boot" }
spring-dependency-management = { id = "io.spring.dependency-management", version.ref = "spring-dependency-management" }
dependency-version-checker = { id = "com.github.ben-manes.versions", version.ref = "dependency-version-checker" }

0 comments on commit ba807cc

Please sign in to comment.