Skip to content

Commit c6fb314

Browse files
committed
Gradle for egg 4
1 parent ec61ce8 commit c6fb314

File tree

13 files changed

+43
-43
lines changed

13 files changed

+43
-43
lines changed

egg_2_max_v_threads/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Build Notes:
1111
------------
1212

1313
* tested with [this jdk](../JDK.version.md)
14+
* tested with [this version](../Gradle.version.md) of Gradle
1415
* tested with [this version](../Maven.version.md) of Maven
15-
* Gradle does not yet support JDK 19 preview (as of NOV 2022). Check [here](https://docs.gradle.org/current/userguide/compatibility.html)
1616

1717
To Run (using Gradle):
1818
---------------------

egg_3_legacy_exec/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Build Notes:
88
------------
99

1010
* tested with [this jdk](../JDK.version.md)
11+
* tested with [this version](../Gradle.version.md) of Gradle
1112
* tested with [this version](../Maven.version.md) of Maven
12-
* Gradle does not yet support JDK 19 preview (as of NOV 2022). Check [here](https://docs.gradle.org/current/userguide/compatibility.html)
1313

1414
To Run (using Gradle):
1515
---------------------

egg_4_virtual_exec/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,28 @@ Build Notes:
1111
------------
1212

1313
* tested with [this jdk](../JDK.version.md)
14+
* tested with [this version](../Gradle.version.md) of Gradle
1415
* tested with [this version](../Maven.version.md) of Maven
15-
* Gradle does not yet support JDK 19 preview (as of NOV 2022). Check [here](https://docs.gradle.org/current/userguide/compatibility.html)
1616

17-
To Build (using Maven):
17+
To Run (using Gradle):
1818
---------------------
1919

20-
* `./mvn-go.sh` will clean, compile, exec
20+
* `./gradle-run.sh`
2121

22-
To Build (using Bash):
22+
To Run (using Maven):
23+
---------------------
24+
25+
* `./mvn-run.sh`
26+
27+
To Run (using Bash):
2328
----------------------
2429

30+
* `./run.sh`
31+
2532
useful commands:
2633

2734
* `sdk env`
2835
- SDKMan! will set JDK to value in `.sdkmanrc`
29-
* `./clean.sh`
30-
* `./compile.sh`
31-
* `./run.sh`
32-
* note `./go.sh` is useful for clean-compile-run cycle
3336

3437
Flight Recorder (with Bash):
3538
----------------

egg_4_virtual_exec/gradle-build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
../gradlew compileJava
6+
7+
echo "run complete"

egg_4_virtual_exec/gradle-run.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
../gradlew run
6+
7+
echo "run complete"

egg_4_virtual_exec/mvn-build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
mvn install
6+
mvn clean
7+
mvn compile
8+
9+
echo "run complete"

egg_4_virtual_exec/mvn-clean.sh

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

egg_4_virtual_exec/mvn-compile.sh

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

egg_4_virtual_exec/mvn-go.sh

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

egg_4_virtual_exec/mvn-run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
set -e
44

5+
mvn install
6+
mvn clean
7+
mvn compile
58
mvn exec:exec
69

710
echo "run complete"

0 commit comments

Comments
 (0)