Skip to content

Commit 2e496d6

Browse files
committed
Move library and gradle plugin versions to ext properties
1 parent 0f69e3f commit 2e496d6

File tree

1 file changed

+31
-26
lines changed

1 file changed

+31
-26
lines changed

build.gradle

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,36 @@
1515
*/
1616

1717
buildscript {
18-
def springBootVersion = '2.6.1'
19-
def sonarqubeVersion = '3.3'
20-
def asciidoctorGradleVersion = '1.6.1'
21-
def artifactoryVersion = '4.25.0'
22-
def bintrayVersion = '1.8.5'
23-
def owaspDependencyCheckVersion = '6.5.0.1'
24-
def httpBuilderVersion = '0.7.2'
18+
ext{
19+
//Plugins
20+
springBootVersion = '2.6.1'
21+
sonarqubeVersion = '3.3'
22+
asciidoctorGradleVersion = '1.6.1'
23+
artifactoryVersion = '4.25.0'
24+
bintrayVersion = '1.8.5'
25+
owaspDependencyCheckVersion = '6.5.0.1'
26+
httpBuilderVersion = '0.7.2'
27+
28+
//Libraries
29+
webauthn4jVersion = '0.18.0.RELEASE'
30+
springSecurityVersion = '5.6.0'
31+
hibernateValidatorVersion = '6.2.0.Final'
32+
thymeleafVersion = '3.0.4.RELEASE'
33+
modelMapperVersion = '2.4.4'
34+
35+
bootstrapVersion = '5.1.3'
36+
jqueryVersion = '3.6.0'
37+
fontAwesomeVersion = '5.15.4'
38+
webjarsLocatorVersion = '0.42'
39+
40+
log4jdbcVersion = '0.2.7'
41+
dbunitVersion = '2.7.2'
42+
springTestDbunitVersion = '1.3.0'
43+
webDriverManagerVersion = '5.0.3'
44+
// To use WebAuthn WebDriver extension, alpha release is used here.
45+
// When stable version is released, and Spring Boot BOM includes it, this need to be removed.
46+
seleniumVersion = '4.1.0'
47+
}
2548

2649
repositories {
2750
mavenCentral()
@@ -181,6 +204,7 @@ configure(sampleAppProjects) {
181204
apply plugin: 'java'
182205
}
183206

207+
184208
configure(allJavaProjects) {
185209
apply plugin: 'org.owasp.dependencycheck'
186210

@@ -197,25 +221,6 @@ configure(allJavaProjects) {
197221
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
198222
}
199223

200-
def webauthn4jVersion = '0.18.0.RELEASE'
201-
def springSecurityVersion = '5.6.0'
202-
def springBootVersion = '2.6.1'
203-
def hibernateValidatorVersion = '6.2.0.Final'
204-
def thymeleafVersion = '3.0.4.RELEASE'
205-
def modelMapperVersion = '2.4.4'
206-
207-
def bootstrapVersion = '5.1.3'
208-
def jqueryVersion = '3.6.0'
209-
def fontAwesomeVersion = '5.15.4'
210-
def webjarsLocatorVersion = '0.42'
211-
212-
def log4jdbcVersion = '0.2.7'
213-
def dbunitVersion = '2.7.2'
214-
def springTestDbunitVersion = '1.3.0'
215-
def webDriverManagerVersion = '5.0.3'
216-
// To use WebAuthn WebDriver extension, alpha release is used here.
217-
// When stable version is released, and Spring Boot BOM includes it, this need to be removed.
218-
def seleniumVersion = '4.1.0'
219224

220225
dependencies {
221226
// BOM

0 commit comments

Comments
 (0)