3 group = 'net.pterodactylus'
7 maven { url "http://maven.pterodactylus.net/" }
8 maven { url "http://repo.maven.apache.org/maven2" }
12 compile group: 'net.pterodactylus', name: 'utils', version: '0.13'
14 testCompile group: 'junit', name: 'junit', version: '4.12'
15 testCompile group: 'org.hamcrest', name: 'hamcrest-library', version: '1.3'
16 testCompile group: 'org.mockito', name: 'mockito-core', version: '1.10.19'
19 sourceCompatibility = 1.8
20 targetCompatibility = 1.8
22 apply plugin: 'application'
24 mainClassName = 'de.todesbaum.jsite.main.Main'
26 task fatJar(type: Jar) {
27 archiveName = "${project.name}-${project.version}-jar-with-dependencies.jar"
29 configurations.runtime.collect {
30 it.isDirectory() ? it : zipTree(it)
34 attributes('Main-Class': 'de.todesbaum.jsite.main.Main')
39 apply plugin: 'jacoco'
42 toolVersion = '0.7.7.201606060606'
45 jacocoTestReport.dependsOn test