You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
14
14
15
15
## How To Start
16
16
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`.
19
20
3. Execute some [Gradle lifecycle tasks](https://docs.gradle.org/current/userguide/java_plugin.html#lifecycle_tasks) in order to check everything is OK:
20
21
1. Create [the project JAR](https://docs.gradle.org/current/userguide/java_plugin.html#sec:jar) and other project artifacts:
21
22
`./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
`./gradlew wrapper --gradle-version=5.1.1 --distribution-type=bin` or modifying the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties#L3)
`./gradlew wrapper --gradle-version=5.6 --distribution-type=bin` or modifying the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties#L3)
0 commit comments