version = '0.1'
group = 'uk.co.nickthecoder'
repositories {
mavenCentral()
mavenLocal()
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = "uk.co.nickthecoder.jguifier.Example"
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile 'junit:junit:4.12'
compile 'uk.co.nickthecoder:prioritydoc:0.1'
}
/*
* gradle javadoc, and then copy them to my website manually with :
*
*/
javadoc {
source = sourceSets.main.allJava
classpath = configurations.compile
options.doclet = "uk.co.nickthecoder.prioritydoc.PriorityDoc"
options.addStringOption( "mainpackage", "uk.co.nickthecoder.jguifier" )
options.addStringOption( "overwriteresources" )
options.addStringOption( "usecookies" )
options.addStringOption( "title", "JGuifier" )
options.addStringOption( "link", "http://docs.oracle.com/javase/7/docs/api/")
options.docletpath = configurations.compile.files.asType(List)
verbose = false
}