Skip to content

Commit

Permalink
Added support for TestNG 7.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Apr 28, 2024
1 parent 155052a commit b1db440
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ Don't forget to add a TestNG `test` dependency to your build file, as it is not

```java
repositories = List.of(MAVEN_CENTRAL);
scope(test).include(dependency("org.testng", "testng", version(7, 10, 1)));
scope(test).include(dependency("org.testng", "testng", version(7, 10, 2)));
```
2 changes: 1 addition & 1 deletion examples/lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.extensions=com.uwyn.rife2:bld-testng:0.9.7
bld.extensions=com.uwyn.rife2:bld-testng:0.9.8
bld.extension.jacoco=com.uwyn.rife2:bld-jacoco-report:0.9.5
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.downloadLocation=
Expand Down
12 changes: 6 additions & 6 deletions examples/src/bld/java/com/example/ExamplesBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

/**
* Example build.
*
* <ul style="list-style-type:none">
* <li>{@code ./bld compile test}</li>
* <li>{@code ./bld compile jacoco}</li>
* </ul>
*
* <pre>{@code
* ./bld compile test
* ./bld compile jacoco
* }</pre>
*/
public class ExamplesBuild extends BaseProject {
public ExamplesBuild() {
Expand All @@ -36,7 +36,7 @@ public ExamplesBuild() {

repositories = List.of(MAVEN_CENTRAL);

scope(test).include(dependency("org.testng", "testng", version(7, 10, 1)));
scope(test).include(dependency("org.testng", "testng", version(7, 10, 2)));
}

public static void main(String[] args) {
Expand Down
5 changes: 3 additions & 2 deletions src/bld/java/rife/bld/extension/TestNgOperationBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ public class TestNgOperationBuild extends Project {
public TestNgOperationBuild() {
pkg = "rife.bld.extension";
name = "bld-testng";
version = version(0, 9, 7);
version = version(0, 9, 8);

javaRelease = 17;

downloadSources = true;
autoDownloadPurge = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
Expand All @@ -47,7 +48,7 @@ public TestNgOperationBuild() {
.include(dependency("com.uwyn.rife2", "bld", version(1, 9, 0)));

scope(test)
.include(dependency("org.testng", "testng", version(7, 10, 1)))
.include(dependency("org.testng", "testng", version(7, 10, 2)))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 2)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 2)))
.include(dependency("org.assertj", "assertj-core", version(3, 25, 3)));
Expand Down

0 comments on commit b1db440

Please sign in to comment.