Skip to content

Commit 460188f

Browse files
committed
basic_104 Hello Single Project!
1 parent 245de57 commit 460188f

3 files changed

Lines changed: 72 additions & 4 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Release--basic_104
2+
3+
on:
4+
push:
5+
branches:
6+
# branches-ignore:
7+
- basic_104
8+
9+
jobs:
10+
build:
11+
name: Create--Release--"basic_104"
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout--Code
16+
uses: actions/checkout@v2
17+
- name: Create--Release--for--Branch--"basic_104"
18+
id: create_release
19+
uses: actions/create-release@v1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
22+
with:
23+
tag_name: v0.104.1
24+
release_name: Project--"basic_104"--for--The--Release
25+
body: |
26+
### ABOUT
27+
- develop simple Java application with Gradle
28+
29+
### USAGE
30+
```bash
31+
# DO (download the zip file)
32+
wget https://github.com/cnruby/gradle_java/archive/v0.104.1.zip -O gradle_java-0.104.1.zip
33+
34+
# DO (unzip the file)
35+
unzip gradle_java-0.104.1.zip && cd gradle_java-0.104.1
36+
37+
```bash
38+
# 1. Usage for the project
39+
40+
# DO (build and run the application `App`)
41+
./gradlew run
42+
43+
# 2. Usage for OS
44+
45+
# DO (Install the project as a distribution as-is)
46+
./gradlew installDist
47+
48+
# DO (run the application `App` for Ubuntu OS)
49+
./build/install/_gradle_java/bin/basic_104
50+
51+
# DO (run the application `App` for Winsows OS)
52+
./build/install/_gradle_java/bin/basic_104.bat
53+
```
54+
draft: false
55+
prerelease: false

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
[![Java zulu-openjdk:11](https://img.shields.io/badge/Java-zulu%20openjdk:11-brightgreen?style=flat&logo=java)](https://www.azul.com/downloads/zulu-community/?package=jdk)
99
[![GitHub release (latest by date)](https://img.shields.io/badge/Gradle-v6.7.1-black?style=flat&logo=gradle)](https://gradle.org/)
1010
[![CircleCI](https://circleci.com/gh/cnruby/gradle_java/tree/basic_104.svg?style=svg)](https://app.circleci.com/pipelines/github/cnruby/gradle_java?branch=basic_104)
11+
[![Release--basic_104](https://github.com/cnruby/gradle_java/workflows/Release--basic_104/badge.svg?branch=basic_104)](https://github.com/cnruby/gradle_java/actions)
1112

1213

14+
---
1315

1416
basic_104
1517
<h1>Lesson 104: Hello Single Project!</h1>
@@ -208,7 +210,18 @@ git clone -b basic_104 https://github.com/cnruby/gradle_java.git basic_104
208210
```
209211

210212
```bash
211-
# Use
212-
cd basic_104
213+
# 1. Usage for the project
214+
215+
# DO (build and run the application `App`)
213216
./gradlew run
214-
```
217+
218+
# 2. Usage for OS
219+
220+
# DO (Install the project as a distribution as-is)
221+
./gradlew installDist
222+
223+
# DO (run the application `App` for Ubuntu OS)
224+
./build/install/_gradle_java/bin/basic_104
225+
226+
# DO (run the application `App` for Winsows OS)
227+
./build/install/_gradle_java/bin/basic_104.bat

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ startScripts {
1010
applicationName = 'basic_104'
1111
group = 'de.iotoi'
1212
// version = '1.0.4'
13-
sourceCompatibility = 11
13+
sourceCompatibility = JavaVersion.VERSION_11
1414
}
1515

1616
repositories {

0 commit comments

Comments
 (0)