Skip to content

Commit 539e6f9

Browse files
committed
Gradle for egg11b
1 parent 2ae80e8 commit 539e6f9

File tree

12 files changed

+42
-29
lines changed

12 files changed

+42
-29
lines changed

egg__11b_sc_utility/README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,20 @@ 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

14-
To Build (using Maven):
14+
To Run (using Gradle):
1515
---------------------
1616

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

19-
To Build (using Bash):
19+
To Run (using Maven):
20+
---------------------
21+
22+
* `./mvn-run.sh`
23+
24+
To Run (using Bash):
2025
----------------------
2126

2227
useful commands:

egg__11b_sc_utility/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
mainClassName = "net.codetojoy.Runner"
3+
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__11b_sc_utility/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__11b_sc_utility/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__11b_sc_utility/mvn-clean.sh

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

egg__11b_sc_utility/mvn-compile.sh

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

egg__11b_sc_utility/mvn-go.sh

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

egg__11b_sc_utility/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"

gradle-build-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ set -e
2727

2828
./gradlew egg__11_sc_utility:compileJava
2929

30-
# cd $MY_HOME/egg__11b_sc_utility
30+
./gradlew egg__11b_sc_utility:compileJava
3131

3232
echo "Ready."

0 commit comments

Comments
 (0)