@@ -13,7 +13,7 @@ plugins {
1313 id ' java-library'
1414 id ' maven-publish'
1515 id ' checkstyle'
16- id ' org.gradlex.extra-java-module-info' version ' 1.12 '
16+ id ' org.gradlex.extra-java-module-info' version " ${ extraJavaModuleInfoVersion } "
1717}
1818
1919group = ' io.sf.carte'
@@ -38,13 +38,13 @@ dependencies {
3838 api(' io.sf.carte:css4j' ) {
3939 version {
4040 strictly ' [6.0,)'
41- prefer ' 6.0 '
41+ prefer " { $c ss4jVersion } "
4242 }
4343 }
4444 useragentImplementation(' io.sf.carte:css4j-agent' ) {
4545 version {
4646 strictly ' [3.4.0,)'
47- prefer ' 6.0 '
47+ prefer " { $c ss4jAgentVersion } "
4848 }
4949 }
5050 /*
@@ -54,19 +54,19 @@ dependencies {
5454 api(' org.dom4j:dom4j' ) {
5555 version {
5656 require ' [1.6.0,)'
57- prefer ' 2.1.4 '
57+ prefer " ${ dom4jVersion } "
5858 }
5959 }
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 } "
6262 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 } "
6767 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
6868 // 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 } "
7070}
7171
7272extraJavaModuleInfo {
@@ -75,7 +75,7 @@ extraJavaModuleInfo {
7575}
7676
7777checkstyle {
78- toolVersion = ' 10.24.0 '
78+ toolVersion = " ${ checkstyleVersion } "
7979}
8080
8181repositories {
0 commit comments