Skip to content

Releases: cnruby/gradle_java

Project--"basic_114"--for--The--Release

20 Dec 17:53

Choose a tag to compare

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.bat

Project--"basic_113"--for--The--Release

20 Dec 10:49

Choose a tag to compare

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.bat

Project--"basic_104"--for--The--Release

20 Dec 16:15

Choose a tag to compare

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.bat

Project--"basic_103"--for--The--Release

20 Dec 09:01

Choose a tag to compare

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.bat

Project--"basic_102"--for--The--Release

20 Dec 08:47

Choose a tag to compare

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.bat

Project--"basic_101"--for--The--Release

20 Dec 08:45

Choose a tag to compare

ABOUT

  • develop simple java app with the command javac and java

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 App

Project--basic_003--for--The--Release

20 Dec 09:40

Choose a tag to compare

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