mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-25 16:27:11 -07:00
Updated version to 2.2.0.
Updated versions for RIFE2 project creation. Updated RIFE2/core.
This commit is contained in:
parent
625055bbb6
commit
03a15433ff
9 changed files with 32 additions and 36 deletions
24
README.md
24
README.md
|
@ -1,6 +1,6 @@
|
|||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
|
||||
[](https://rife2.com/bld)
|
||||
[](https://rife2.com/bld)
|
||||
[](https://github.com/rife2/bld/releases/latest)
|
||||
[](https://maven-badges.herokuapp.com/maven-central/com.uwyn.rife2/bld)
|
||||
[](https://s01.oss.sonatype.org/content/repositories/snapshots/com/uwyn/rife2/bld/)
|
||||
|
@ -48,33 +48,29 @@ import java.util.List;
|
|||
import static rife.bld.dependencies.Repository.*;
|
||||
import static rife.bld.dependencies.Scope.*;
|
||||
|
||||
public class MyappBuild extends Project {
|
||||
public MyappBuild() {
|
||||
public class MyAppBuild extends Project {
|
||||
public MyAppBuild() {
|
||||
pkg = "com.example";
|
||||
name = "Myapp";
|
||||
mainClass = "com.example.MyappMain";
|
||||
name = "my-app";
|
||||
mainClass = "com.example.MyApp";
|
||||
version = version(0,1,0);
|
||||
|
||||
downloadSources = true;
|
||||
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
|
||||
scope(test)
|
||||
.include(dependency("org.junit.jupiter",
|
||||
"junit-jupiter",
|
||||
version(5,11,0)))
|
||||
.include(dependency("org.junit.platform",
|
||||
"junit-platform-console-standalone",
|
||||
version(1,11,0)));
|
||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5,11,4)))
|
||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1,11,4)));
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new MyappBuild().start(args);
|
||||
new MyAppBuild().start(args);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
> **NOTE:** `bld` supports different ways to describe dependencies,
|
||||
> `dependency("org.junit.jupiter", "junit-jupiter", version(5,11,0))` can for instance also
|
||||
> be written as `dependency("org.junit.jupiter:junit-jupiter:5.11.0")`. Which format you use,
|
||||
> `dependency("org.junit.jupiter", "junit-jupiter", version(5,11,4))` can for instance also
|
||||
> be written as `dependency("org.junit.jupiter:junit-jupiter:5.11.4")`. Which format you use,
|
||||
> is a matter of personal taste.
|
||||
|
||||
# Where does `bld` fit?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue