Skip to content

benfro/gradle-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gradle-template

Template 'quick start' project

  • Java
  • Guava
  • commons-lang3
  • commons-io
  • Gradle 6.4
  • JUnit5
  • Mockito

Setup

  1. Optional to avoid GIT dependencies on the repo
    Go to https://github.com/benfro/gradle-template, choose Clone or download => Download ZIP and extract on your disk.
    Import into the IDE of your choice.

  2. Change to your preferred name in file 'settings-gradle'

     rootProject.name = 'gradle-template'
    
  3. Change group entry in 'build.gradle'

     group 'net.benfro'
    
  4. Change to your preferred package stucture in 'src/main/java' and 'src/test/java'

  5. Run from command prompt (or IDEA's gradle tab)

     gradle init
    

TIP: If you run IDEA and want to create project setups for it:

// id 'idea' <== uncomment this in file 'build.gradle'
and run 'gradle idea'

Resources

Gradle documentation: https://docs.gradle.org/current/userguide/userguide.html

About

Template quick start project for gradle

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages