Skip to content

Commit 1938f48

Browse files
committed
Streamline Gradle build scripts: using the Spring Dependency Management Plugin to manage dependencies and versions
Closes gh-57
1 parent 2a1e977 commit 1938f48

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

build.gradle

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ configurations {
3636
}
3737

3838
dependencies {
39-
api "org.liquibase:liquibase-core:$liquibaseVersion", {
39+
api "org.liquibase:liquibase-core", {
4040
exclude group: 'javax.xml.bind', module: 'jaxb-api'
4141
exclude group: 'com.opencsv', module: 'opencsv'
4242
}
43-
api("org.liquibase.ext:liquibase-hibernate5:$liquibaseHibernateVersion") {
43+
api("org.liquibase.ext:liquibase-hibernate5") {
4444
exclude group: 'org.hibernate', module: 'hibernate-core'
4545
exclude group: 'org.hibernate', module: 'hibernate-entitymanager'
4646
exclude group: 'org.hibernate', module: 'hibernate-envers'
@@ -52,28 +52,28 @@ dependencies {
5252
compileOnly("org.graceframework:grace-shell") {
5353
exclude group: 'org.slf4j', module: 'slf4j-simple'
5454
}
55-
api("org.apache.groovy:groovy-sql:$groovyVersion")
55+
api "org.apache.groovy:groovy-sql"
5656
api "org.hibernate:hibernate-core-jakarta:$HibernateCoreVersion"
5757

5858
compileOnly "org.graceframework:grace-boot"
5959
compileOnly "org.graceframework:grace-cli"
60-
compileOnly 'jakarta.servlet:jakarta.servlet-api:6.0.0'
61-
implementation "org.graceframework:grace-datastore-gorm:$gormVersion"
62-
compileOnly "org.graceframework.plugins:hibernate:$hibernatePluginVersion"
60+
compileOnly 'jakarta.servlet:jakarta.servlet-api'
61+
implementation "org.graceframework:grace-datastore-gorm"
62+
compileOnly "org.graceframework.plugins:hibernate"
6363

6464
testImplementation "org.graceframework:grace-shell"
65-
testImplementation "org.graceframework.plugins:hibernate:$hibernatePluginVersion"
65+
testImplementation "org.graceframework.plugins:hibernate"
6666

6767
testImplementation "org.graceframework:grace-test-support"
6868
testImplementation "org.mockito:mockito-core"
69-
testImplementation "com.h2database:h2:$h2Version"
69+
testImplementation "com.h2database:h2"
7070

7171
documentation "org.fusesource.jansi:jansi:1.18"
7272
documentation "com.github.javaparser:javaparser-core:3.15.14"
73-
documentation "org.apache.groovy:groovy:$groovyVersion"
74-
documentation "org.apache.groovy:groovy-ant:$groovyVersion"
75-
documentation "org.apache.groovy:groovy-templates:$groovyVersion"
76-
documentation "org.apache.groovy:groovy-xml:$groovyVersion"
73+
documentation "org.apache.groovy:groovy"
74+
documentation "org.apache.groovy:groovy-ant"
75+
documentation "org.apache.groovy:groovy-templates"
76+
documentation "org.apache.groovy:groovy-xml"
7777
}
7878

7979
java {

0 commit comments

Comments
 (0)