Skip to content

Commit

Permalink
Use plugins in version catalog where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
erichaagdev committed Apr 2, 2024
1 parent e9852ba commit 508443e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ plugins {
}

hugoPost {
substitute("commonCustomUserDataGradlePluginVersion" to libs.versions.commonCustomUserDataGradlePlugin)
substitute("develocityGradlePluginVersion" to libs.versions.develocityGradlePlugin)
substitute("commonCustomUserDataGradlePluginVersion" to libs.versions.commonCustomUserData)
substitute("develocityGradlePluginVersion" to libs.versions.develocity)
substitute("gradleVersion" to GradleVersion.current().version)
substitute("springBootVersion" to libs.versions.springBoot)
substitute("springCloudVersion" to libs.versions.springCloud)
substitute("springDependencyManagementGradlePlugin" to libs.versions.springDependencyManagementGradlePlugin)
substitute("springDependencyManagementGradlePlugin" to libs.versions.springDependencyManagement)
}
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[versions]
apacheCommonsText = "1.11.0"
commonCustomUserDataGradlePlugin = "1.13"
develocityGradlePlugin = "3.16.2"
commonCustomUserData = "1.13"
develocity = "3.16.2"
firebase = "13.6.0"
hugo = "0.124.1"
hugoTheme = "0.2.11"
junit = "5.10.2"
springBoot = "3.2.4"
springCloud = "2023.0.1"
springDependencyManagementGradlePlugin = "1.1.4"
springDependencyManagement = "1.1.4"
wrapperUpgrade = "0.11.4"


[libraries]
apacheCommonsText = { module = "org.apache.commons:commons-text", version.ref = "apacheCommonsText" }
commonCustomUserDataGradlePlugin = { module = "com.gradle.common-custom-user-data-gradle-plugin:com.gradle.common-custom-user-data-gradle-plugin.gradle.plugin", version.ref = "commonCustomUserDataGradlePlugin" }
develocityGradlePlugin = { module = "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin", version.ref = "develocityGradlePlugin" }
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
springBootDependencies = { module = "org.springframework.boot:spring-boot-dependencies", version.ref = "springBoot" }
springCloudDependencies = { module = "org.springframework.cloud:spring-cloud-dependencies", version.ref = "springCloud" }
springDependencyManagementGradlePlugin = { module = "io.spring.dependency-management:io.spring.dependency-management.gradle.plugin", version.ref = "springDependencyManagementGradlePlugin" }

[plugins]
commonCustomUserData = { id = "com.gradle.common-custom-user-data-gradle-plugin", version.ref = "commonCustomUserData" }
develocity = { id = "com.gradle.enterprise", version.ref = "develocity" }
springDependencyManagement = { id = "io.spring.dependency-management", version.ref = "springDependencyManagement" }
wrapperUpgrade = { id = "org.gradle.wrapper-upgrade", version.ref = "wrapperUpgrade" }

0 comments on commit 508443e

Please sign in to comment.