@@ -13,7 +13,7 @@ plugins {
13
13
id ' java-library'
14
14
id ' maven-publish'
15
15
id ' checkstyle'
16
- id ' org.gradlex.extra-java-module-info' version ' 1.12 '
16
+ id ' org.gradlex.extra-java-module-info' version " ${ extraJavaModuleInfoVersion } "
17
17
}
18
18
19
19
group = ' io.sf.carte'
@@ -38,13 +38,13 @@ dependencies {
38
38
api(' io.sf.carte:css4j' ) {
39
39
version {
40
40
strictly ' [6.0,)'
41
- prefer ' 6.0 '
41
+ prefer " { $c ss4jVersion } "
42
42
}
43
43
}
44
44
useragentImplementation(' io.sf.carte:css4j-agent' ) {
45
45
version {
46
46
strictly ' [3.4.0,)'
47
- prefer ' 6.0 '
47
+ prefer " { $c ss4jAgentVersion } "
48
48
}
49
49
}
50
50
/*
@@ -54,19 +54,19 @@ dependencies {
54
54
api(' org.dom4j:dom4j' ) {
55
55
version {
56
56
require ' [1.6.0,)'
57
- prefer ' 2.1.4 '
57
+ prefer " ${ dom4jVersion } "
58
58
}
59
59
}
60
- xmlpullImplementation ' xmlpull:xmlpull:1.2.0 '
61
- xmlpullImplementation ' xpp3:xpp3_min:1.2.0 '
60
+ xmlpullImplementation " xmlpull:xmlpull:${ xmlpullVersion } "
61
+ xmlpullImplementation " xpp3:xpp3_min:${ xpp3Version } "
62
62
testImplementation group : ' io.sf.carte' , name : ' css4j' , classifier : ' tests' ,
63
- version : ' 6.0 '
64
- testImplementation ' jaxen:jaxen:2.0.0 '
65
- testImplementation ' org.slf4j:slf4j-api:2.0.17 '
66
- testImplementation ' org.junit.jupiter:junit-jupiter:5.12.2 '
63
+ version : " { $c ss4jVersion } "
64
+ testImplementation " jaxen:jaxen:${ jaxenVersion } "
65
+ testImplementation " org.slf4j:slf4j-api:${ slf4jVersion } "
66
+ testImplementation " org.junit.jupiter:junit-jupiter:${ junitVersion } "
67
67
testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
68
68
// css4j tests still use JUnit 4
69
- testImplementation ' org.junit.vintage:junit-vintage-engine:5.12.2 '
69
+ testImplementation " org.junit.vintage:junit-vintage-engine:${ junitVersion } "
70
70
}
71
71
72
72
extraJavaModuleInfo {
@@ -75,7 +75,7 @@ extraJavaModuleInfo {
75
75
}
76
76
77
77
checkstyle {
78
- toolVersion = ' 10.24.0 '
78
+ toolVersion = " ${ checkstyleVersion } "
79
79
}
80
80
81
81
repositories {
0 commit comments