Defines common gradle build scripts.
This project helps you to have a fast and stable gradle build.
-
Install gradle be sure you can call gradle on command line by typing
gradle
-
Create a project directory, e.g. my-java-lib,
mkdir my-java-lib
-
Change on command line into the directory,
cd my-java-lib
-
Create a build.gradle file and start gradle:
- On Windows
echo apply from: "https://git.io/JfDQT" > build.gradle & gradle
- On Linux or Mac
echo apply from: \"https://git.io/JfDQT\" > build.gradle && gradle
Alternative you can do this in two steps: Create a build.gradle file with content:
apply from: "https://github.com/raw/toolarium/common-gradle-build/master/gradle/common.gradle"
or as shorten URL:
apply from: "https://git.io/JfDQT"
Start gradle:
gradle
- On Windows