Skip to content

Commit 886f5a0

Browse files
committed
Upgrade Gradle + JUnit + ReadMe improvements
1 parent bfec82a commit 886f5a0

File tree

4 files changed

+34
-22
lines changed

4 files changed

+34
-22
lines changed

.github/workflows/gradle.yml renamed to .github/workflows/workflow.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Java CI
1+
name: Main Workflow
22

33
on: [push]
44

@@ -17,4 +17,4 @@ jobs:
1717
run: ./gradlew assemble --warning-mode all
1818
- name: Check
1919
run: ./gradlew check --warning-mode all
20-
20+

README.md

+29-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
# ☕🚀 Java Bootstrap: Skeleton for your new projects
1+
# ☕🚀 Java Basic Skeleton: Save the boilerplate in your new projects
22

33
<img src="http://codely.tv/wp-content/uploads/2016/05/cropped-logo-codelyTV.png" align="left" width="192px" height="192px"/>
44
<img align="left" width="0" height="192px" hspace="10"/>
55

66
> ⚡ Start your Java projects as fast as possible
77
88
[![CodelyTV](https://img.shields.io/badge/codely-tv-green.svg?style=flat-square)](https://codely.tv)
9-
[![Build Status](https://travis-ci.com/CodelyTV/java-bootstrap.svg?branch=master)](https://travis-ci.com/CodelyTV/java-bootstrap)
9+
[![Workflow Status](https://github.com/CodelyTV/java-basic-skeleton/actions)](https://github.com/CodelyTV/java-basic-skeleton/workflows/Main%20Workflow/badge.svg)
1010

1111
## Introduction
1212

13-
This is a repository intended to serve as a starting point if you want to bootstrap a project in Java 8 with JUnit and Gradle
13+
This is a repository intended to serve as a starting point if you want to bootstrap a Java project with JUnit and Gradle.
1414

1515
## How To Start
1616

17-
1. Install Java: `brew cask install java`
18-
2. Clone this repository: `git clone https://github.com/CodelyTV/java-bootstrap`.
17+
1. Install Java 8: `brew cask install corretto8`
18+
2. Set it as your default JVM: `export JAVA_HOME='/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home'`
19+
2. Clone this repository: `git clone https://github.com/CodelyTV/java-basic-skeleton`.
1920
3. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK:
2021
1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar) and other project artifacts:
2122
`./gradlew assemble --warning-mode all`
@@ -25,14 +26,29 @@ This is a repository intended to serve as a starting point if you want to bootst
2526

2627
## How to update dependencies
2728

28-
* Gradle (current version: 5.1.1 - [releases](https://gradle.org/releases/)):
29-
`./gradlew wrapper --gradle-version=5.1.1 --distribution-type=bin` or modifying the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties#L3)
30-
* JUnit (current version: 5.3.2 - [releases](https://junit.org/junit5/docs/snapshot/release-notes/index.html)):
29+
* Gradle (current version: 5.6 - [releases](https://gradle.org/releases/)):
30+
`./gradlew wrapper --gradle-version=5.6 --distribution-type=bin` or modifying the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties#L3)
31+
* JUnit (current version: 5.5.1 - [releases](https://junit.org/junit5/docs/snapshot/release-notes/index.html)):
3132
[`build.gradle:11`](build.gradle#L11-L12)
3233

33-
## Other programming languages
34+
## Related repositories
3435

35-
*[Java](https://github.com/CodelyTV/java_bootstrap)
36-
* 🐘 [PHP](https://github.com/CodelyTV/php-bootstrap)
37-
* 🔮 [Scala](https://github.com/CodelyTV/scala_bootstrap)
38-
* 🔮⚡ [Scala g8 template](https://github.com/CodelyTV/scala-bootstrap-template.g8)
36+
### ☕ Java
37+
38+
* 📂 [Java Basic Skeleton](https://github.com/CodelyTV/java-basic-skeleton)
39+
*[Java OOP Examples](https://github.com/CodelyTV/java-oop-examples)
40+
* 🧱 [Java SOLID Examples](https://github.com/CodelyTV/java-solid-examples)
41+
* 🥦 [Java DDD Example](https://github.com/CodelyTV/java-ddd-example)
42+
43+
### 🐘 PHP
44+
45+
* 📂 [PHP Basic Skeleton](https://github.com/CodelyTV/php-basic-skeleton)
46+
* 🎩 [PHP DDD Skeleton](https://github.com/CodelyTV/php-ddd-skeleton)
47+
* 🥦 [PHP DDD Example](https://github.com/CodelyTV/php-ddd-example)
48+
49+
### 🧬 Scala
50+
51+
* 📂 [Scala Basic Skeleton](https://github.com/CodelyTV/scala-basic-skeleton)
52+
*[Scala Basic Skeleton (g8 template)](https://github.com/CodelyTV/scala-basic-skeleton.g8)
53+
*[Scala Examples](https://github.com/CodelyTV/scala-examples)
54+
* 🥦 [Scala DDD Example](https://github.com/CodelyTV/scala-ddd-example)

build.gradle

+2-6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ repositories {
88
}
99

1010
dependencies {
11-
testCompile('org.junit.jupiter:junit-jupiter-api:5.3.2')
12-
testRuntime('org.junit.jupiter:junit-jupiter-engine:5.3.2')
11+
testCompile('org.junit.jupiter:junit-jupiter-api:5.5.1')
12+
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:5.5.1')
1313
}
1414

1515
test {
@@ -18,8 +18,4 @@ test {
1818
testLogging {
1919
events "passed", "skipped", "failed"
2020
}
21-
22-
reports {
23-
html.enabled = true
24-
}
2521
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)