Releases: cnruby/gradle_java
Releases · cnruby/gradle_java
Project--"basic_114"--for--The--Release
ABOUT
- develop simple Java application with Gradle
USAGE
# DO (download the zip file)
wget https://github.com/cnruby/gradle_java/archive/v0.114.1.zip -O gradle_java-0.114.1.zip
# DO (unzip the file)
unzip gradle_java-0.114.1.zip && cd gradle_java-0.114.1
# 1. Usage for the project
# DO (build and run the subproject `app`)
./gradlew app:run
# DO (build and run the subproject `example`)
./gradlew example:run
# 2. Usage Subproject `app` for OS
# DO (install the subproject `app` as a distribution as-is)
./gradlew app:installDist
# DO (run application for the subproject `app` for Ubuntu OS)
./app/build/install/app/bin/basic_114
# DO (run application for the subproject `app` for Winsows OS)
./app/build/install/app/bin/basic_114.bat
# 3. Usage Subproject `example` for OS
# DO (install the subproject `example` as a distribution as-is)
./gradlew example:installDist
# DO (run application for the subproject `example` for Ubuntu OS)
./example/build/install/example/bin/basic_114
# DO (run application for the subproject `example` for Winsows OS)
./example/build/install/example/bin/basic_114.batProject--"basic_113"--for--The--Release
ABOUT
- develop simple Java application with Gradle and GitHub Actions CI
USAGE
# DO (download the zip file)
wget https://github.com/cnruby/gradle_java/archive/v0.113.1.zip -O gradle_java-0.113.1.zip
# DO (unzip the file)
unzip gradle_java-0.113.1.zip && cd gradle_java-0.113.1
```bash
# 0. View the GitHub Actions CI Code
cat .github/workflows/gradle_actions.yml
# 1. Usage for the project
# DO (build and run the application `App`)
./gradlew run
# 2. Usage for OS
# DO (Install the project as a distribution as-is)
./gradlew installDist
# DO (run the application `App` for Ubuntu OS)
./build/install/_gradle_java/bin/basic_113
# DO (run the application `App` for Winsows OS)
./build/install/_gradle_java/bin/basic_113.batProject--"basic_104"--for--The--Release
ABOUT
- develop simple Java application with Gradle
USAGE
# DO (download the zip file)
wget https://github.com/cnruby/gradle_java/archive/v0.104.1.zip -O gradle_java-0.104.1.zip
# DO (unzip the file)
unzip gradle_java-0.104.1.zip && cd gradle_java-0.104.1
```bash
# 1. Usage for the project
# DO (build and run the application `App`)
./gradlew run
# 2. Usage for OS
# DO (Install the project as a distribution as-is)
./gradlew installDist
# DO (run the application `App` for Ubuntu OS)
./build/install/_gradle_java/bin/basic_104
# DO (run the application `App` for Winsows OS)
./build/install/_gradle_java/bin/basic_104.batProject--"basic_103"--for--The--Release
ABOUT
- develop simple Java application with Gradle
USAGE
# DO (download the zip file)
wget https://github.com/cnruby/gradle_java/archive/v0.103.1.zip -O gradle_java-0.103.1.zip
# DO (unzip the file)
unzip gradle_java-0.103.1.zip && cd gradle_java-0.103.1
```bash
# 1. Usage for the project
# DO (build and run the application `App`)
./gradlew run
# 2. Usage for OS
# DO (Install the project as a distribution as-is)
./gradlew installDist
# DO (run the application `App` for Ubuntu OS)
./build/install/_gradle_java/bin/basic_103
# DO (run the application `App` for Winsows OS)
./build/install/_gradle_java/bin/basic_103.batProject--"basic_102"--for--The--Release
ABOUT
- develop simple Java application with Gradle
USAGE
# DO (download the zip file)
wget https://github.com/cnruby/gradle_java/archive/v0.102.1.zip -O gradle_java-0.102.1.zip
# DO (unzip the file)
unzip gradle_java-0.102.1.zip && cd gradle_java-0.102.1
# 1. Usage for the project
# DO (build and run the application `App`)
./gradlew run
# 2. Usage for OS
# DO (Bundle the project as a distribution)
./gradlew distZip
# DO (Unzip the distribution)
unzip build/distributions/_gradle_java.zip
# DO (run the application `App` for Ubuntu OS)
./_gradle_java/bin/basic_102
# DO (run the application `App` for Winsows OS)
./_gradle_java/bin/basic_102.batProject--"basic_101"--for--The--Release
ABOUT
- develop simple java app with the command
javacandjava
USAGE
# DO (download the zip file)
wget https://github.com/cnruby/gradle_java/archive/v0.101.1.zip -O gradle_java-0.101.1.zip
# DO (unzip the file)
unzip gradle_java-0.101.1.zip && cd gradle_java-0.101.1
# DO (build and run the application `Hello`)
javac Hello.java
java Hello
# DO (build and run the application `Nihao`)
javac -d ./buildSrc Nihao.java
java -cp ./buildSrc Nihao
# DO (build and run the application `App`)
javac -d ./build ./src/App.java
java -cp ./build AppProject--basic_003--for--The--Release
ABOUT
- learn to publish a project release as GitHub with GitHub Actions
View The Project
# DO (download the zip file)
wget https://github.com/cnruby/gradle_java/archive/v0.003.1.zip -O gradle_java-0.003.1.zip
# DO (unzip the file)
unzip gradle_java-0.003.1.zip && cd gradle_java-0.003.1
# DO (view the code for GitHub Actions Release)
cat .github/workflows/github_release.yml