Exit Full View

wrkfoo / build.gradle

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.wrkfoo.WrkFoo"

sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile 'junit:junit:4.12'
    compile 'uk.co.nickthecoder:jguifier:0.1'
    compile 'uk.co.nickthecoder:prioritydoc:0.1'
    compile 'com.google.code.gson:gson:2.8.0'
    compile 'org.codehaus.groovy:groovy-all:2.4.9'
    compile 'com.fifesoft:rsyntaxtextarea:2.6.1'
}

/*
 * gradle javadoc, and then copy them to my website manually with :
 * rsyncdocs.sh
 */
javadoc {
    source = sourceSets.main.allJava
    classpath = configurations.compile
    
    options.addStringOption( "diagram", "src/docs/classDiagram.xml" )
    
    options.doclet = "uk.co.nickthecoder.prioritydoc.PriorityDoc"
    options.addStringOption( "mainpackage", "uk.co.nickthecoder.wrkfoo" )
    options.addStringOption( "overwriteresources" )
    options.addStringOption( "usecookies" )
    options.addStringOption( "title", "WrkFoo" )
    options.addStringOption( "link", "http://docs.oracle.com/javase/7/docs/api/")
    options.addStringOption( "link", "http://nickthecoder.co.uk/public/jguifier/docs/javadoc/")
    
    options.docletpath = configurations.compile.files.asType(List)
    verbose = false
}