mirror of
https://github.com/wahyd4/RobotSimulator.git
synced 2026-08-09 05:16:20 +10:00
40 lines
821 B
Groovy
40 lines
821 B
Groovy
group 'au.com.seek'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'jacoco'
|
|
apply plugin: 'checkstyle'
|
|
apply plugin: 'application'
|
|
|
|
sourceCompatibility = 1.8
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
repositories {
|
|
maven { url 'http://182.140.210.215:8081/repository/maven-public/' }
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.google.guava:guava:21.0'
|
|
testCompile group: 'junit', name: 'junit', version: '4.11'
|
|
}
|
|
|
|
jacocoTestReport {
|
|
reports {
|
|
xml.enabled true
|
|
csv.enabled true
|
|
html.destination "${buildDir}/jacocoHtml"
|
|
}
|
|
}
|
|
|
|
build {
|
|
dependsOn jacocoTestReport
|
|
}
|
|
|
|
checkstyle {
|
|
configFile = new File("${project.projectDir}/checkstyle_rules.xml")
|
|
checkstyleMain.exclude "**/src/test"
|
|
}
|
|
|
|
mainClassName = "au.com.seek.RobotSimulator" |