Skip to content

Commit 2d0c022

Browse files
authored
Merge pull request #3068 from vlsi/versions
chore: use explicit dependency versions instead of refreshVersions
2 parents 196babc + d533a88 commit 2d0c022

File tree

10 files changed

+34
-200
lines changed

10 files changed

+34
-200
lines changed

build-logic/code-quality/src/main/kotlin/testng.testing.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
dependencies {
9-
testImplementation("org.assertj:assertj-core:_")
9+
testImplementation("org.assertj:assertj-core:3.23.1")
1010
}
1111

1212
tasks.withType<Test>().configureEach {

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id("testng.repositories")
3-
id("com.github.vlsi.stage-vote-release")
3+
id("com.github.vlsi.stage-vote-release") version "1.90"
44
id("idea")
55
}
66

settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ rootProject.name = "testng-root"
66

77
plugins {
88
`gradle-enterprise`
9-
id("de.fayard.refreshVersions") version "0.60.3"
109
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
1110
}
1211

testng-ant/testng-ant-build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ plugins {
33
}
44

55
dependencies {
6-
api("org.apache.ant:ant:_")
6+
api("org.apache.ant:ant:1.10.12")
77

88
implementation(projects.testngCore)
99
testImplementation(projects.testngAsserts)
10-
testImplementation("org.apache.ant:ant-testutil:_")
10+
testImplementation("org.apache.ant:ant-testutil:1.10.12")
1111
}

testng-core-api/testng-core-api-build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ java {
1010

1111
dependencies {
1212
api(projects.testngCollections)
13-
compileOnly("com.github.spotbugs:spotbugs:_")
14-
"guiceApi"(platform("com.google.inject:guice-bom:_"))
13+
compileOnly("com.github.spotbugs:spotbugs:4.8.1")
14+
"guiceApi"(platform("com.google.inject:guice-bom:5.1.0"))
1515
"guiceApi"("com.google.inject:guice")
1616

1717
implementation(projects.testngReflectionUtils)
18-
api("org.slf4j:slf4j-api:_")
19-
testImplementation("org.slf4j:slf4j-simple:_")
18+
api("org.slf4j:slf4j-api:1.7.36")
19+
testImplementation("org.slf4j:slf4j-simple:1.7.36")
2020
}

testng-core/testng-core-build.gradle.kts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,30 +29,30 @@ tasks.withType<GroovyCompile>().configureEach {
2929
dependencies {
3030
api(projects.testngCoreApi)
3131
// Annotations have to be available on the compile classpath for the proper compilation
32-
compileOnly("com.github.spotbugs:spotbugs:_")
33-
api("com.beust:jcommander:_")
32+
compileOnly("com.github.spotbugs:spotbugs:4.8.1")
33+
api("com.beust:jcommander:1.82")
3434

35-
"guiceApi"(platform("com.google.inject:guice-bom:_"))
35+
"guiceApi"(platform("com.google.inject:guice-bom:5.1.0"))
3636
"guiceApi"("com.google.inject:guice")
37-
"yamlImplementation"("org.yaml:snakeyaml:_")
37+
"yamlImplementation"("org.yaml:snakeyaml:2.2")
3838

3939
implementation(projects.testngCollections)
4040
implementation(projects.testngReflectionUtils)
4141
implementation(projects.testngRunnerApi)
42-
implementation("org.webjars:jquery:_")
42+
implementation("org.webjars:jquery:3.7.1")
4343
testImplementation(projects.testngAsserts)
44-
testImplementation("org.codehaus.groovy:groovy-all:_") {
44+
testImplementation("org.codehaus.groovy:groovy-all:3.0.13") {
4545
exclude("org.testng", "testng")
4646
}
47-
testImplementation("org.apache-extras.beanshell:bsh:_")
48-
testImplementation("org.mockito:mockito-core:_")
49-
testImplementation("org.jboss.shrinkwrap:shrinkwrap-api:_")
50-
testImplementation("org.jboss.shrinkwrap:shrinkwrap-impl-base:_")
51-
testImplementation("org.xmlunit:xmlunit-assertj:_")
52-
testImplementation("in.jlibs:jlibs-core:_")
53-
testImplementation("org.gridkit.jvmtool:heaplib:_")
54-
testImplementation("org.gridkit.lab:jvm-attach-api:_")
55-
testImplementation("commons-io:commons-io:_")
47+
testImplementation("org.apache-extras.beanshell:bsh:2.0b6")
48+
testImplementation("org.mockito:mockito-core:4.5.1")
49+
testImplementation("org.jboss.shrinkwrap:shrinkwrap-api:1.2.6")
50+
testImplementation("org.jboss.shrinkwrap:shrinkwrap-impl-base:1.2.6")
51+
testImplementation("org.xmlunit:xmlunit-assertj:2.9.1")
52+
testImplementation("in.jlibs:jlibs-core:3.0.1")
53+
testImplementation("org.gridkit.jvmtool:heaplib:0.2")
54+
testImplementation("org.gridkit.lab:jvm-attach-api:1.5")
55+
testImplementation("commons-io:commons-io:2.15.0")
5656
}
5757

5858
tasks.compileTestGroovy {

testng-runner-api/testng-runner-api-build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ plugins {
44

55
dependencies {
66
api(projects.testngCoreApi)
7-
compileOnly("com.github.spotbugs:spotbugs:_")
7+
compileOnly("com.github.spotbugs:spotbugs:4.8.1")
88
}

testng-test-osgi/testng-test-osgi-build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ dependencies {
1818

1919
testImplementation(projects.testng)
2020

21-
testImplementation("javax:javaee-api:_") {
21+
testImplementation("javax:javaee-api:8.0.1") {
2222
// The dependency was not obvious, logged https://github.com/cbeust/testng/issues/2578
2323
because("PaxExam uses javax.transaction.NotSupportedException and other classes")
2424
}
25-
testImplementation("org.ops4j.pax.exam:pax-exam-container-native:_")
25+
testImplementation("org.ops4j.pax.exam:pax-exam-container-native:4.13.1")
2626
// pax-exam is not yet compatible with junit5
2727
// see https://github.com/ops4j/org.ops4j.pax.exam2/issues/886
28-
testImplementation("org.ops4j.pax.exam:pax-exam-testng:_")
29-
testImplementation("org.ops4j.pax.exam:pax-exam-link-mvn:_")
30-
testImplementation("org.ops4j.pax.url:pax-url-aether:_")
31-
testImplementation("org.apache.felix:org.apache.felix.framework:_")
32-
testImplementation("ch.qos.logback:logback-core:_")
33-
testImplementation("ch.qos.logback:logback-classic:_")
28+
testImplementation("org.ops4j.pax.exam:pax-exam-testng:4.13.5")
29+
testImplementation("org.ops4j.pax.exam:pax-exam-link-mvn:4.13.5")
30+
testImplementation("org.ops4j.pax.url:pax-url-aether:2.6.12")
31+
testImplementation("org.apache.felix:org.apache.felix.framework:7.0.5")
32+
testImplementation("ch.qos.logback:logback-core:1.4.11")
33+
testImplementation("ch.qos.logback:logback-classic:1.4.11")
3434
}
3535

3636
// <editor-fold defaultstate="collapsed" desc="Pass dependency versions to pax-exam container">

testng/testng-build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ java {
1818
api(projects.testngAnt)
1919
}
2020
create("guice") {
21-
api(platform("com.google.inject:guice-bom:_"))
21+
api(platform("com.google.inject:guice-bom:5.1.0"))
2222
api("com.google.inject:guice")
2323
}
2424
create("yaml") {
25-
implementation("org.yaml:snakeyaml:_")
25+
implementation("org.yaml:snakeyaml:2.2")
2626
}
2727
}
2828
}

versions.properties

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)