alexandrebouchard / java-gradle-template

A simple template for java projects built using gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Summary

PROJECTNAME is ...

PROJECTNAME stands for ...

Installation

There are several options available to install the package:

From the command line

  • Check out the source git clone git@github.com:alexandrebouchard/PROJECTNAME.git
  • Compile using ./gradlew installDist
  • Add the directory build/install/PROJECTNAME/bin to your $PATH variable.

Integrate to a gradle script

Simply add the following lines (replacing 1.0.0 by the current version (see git tags)):

repositories {
 mavenCentral()
 jcenter()
 maven {
    url "https://www.stat.ubc.ca/~bouchard/maven/"
  }
}

dependencies {
  compile group: 'ca.ubc.stat', name: 'PROJECTNAME', version: '1.0.0'
}

Compile using the provided gradle script

  • Check out the source git clone git@github.com:alexandrebouchard/PROJECTNAME.git
  • Compile using ./gradlew installDist
  • Add the jars in build/install/PROJECTNAME/lib/ into your classpath

Use in eclipse

  • Check out the source git clone git@github.com:alexandrebouchard/PROJECTNAME.git
  • Type ./gradlew eclipse from the root of the repository
  • From eclipse:
    • Import in File menu
    • Import existing projects into workspace
    • Select the root
    • Deselect Copy projects into workspace to avoid having duplicates

Usage

Quick start

...

About

A simple template for java projects built using gradle


Languages

Language:Java 67.5%Language:Shell 32.5%