Upgraded to bld 1.7.2

This commit is contained in:
Erik C. Thauvin 2023-08-20 18:48:18 -07:00
parent b77f63a032
commit f19a52e3d5
9 changed files with 21 additions and 14 deletions

View file

@ -11,6 +11,13 @@ import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
import static rife.bld.dependencies.Repository.RIFE2_RELEASES;
import static rife.bld.dependencies.Scope.test;
/**
* Example build.
*
* <ul style="list-style-type:none">
* <li>./bld compile run</li>
* </ul>
*/
public class SampleBuild extends Project {
public SampleBuild() {
pkg = "com.example";
@ -21,8 +28,8 @@ public class SampleBuild extends Project {
downloadSources = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 3)));
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 0)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 0)));
}
public static void main(String[] args) {