-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
38 lines (33 loc) · 919 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenLocal()
dependencies {
// when downloading from plugin portal 'gradle.plugin' must be added
//classpath "org.gatored:gatorgradle:+"
classpath "gradle.plugin.org.gatored:gatorgradle:0.4.+"
}
}
}
apply plugin: 'java'
apply plugin: 'org.gatored.gatorgradle'
// declare the repositories that are used to meet dependencies
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
// give the name of the application to run with "gradle run" command
apply plugin: 'application'
mainClassName = 'samplelab.SampleLabMain'
// perform checkstyle checking with the "gradle check" command
apply plugin: 'checkstyle'
checkstyle.toolVersion = '8.1'
checkstyle {
ignoreFailures = false
maxWarnings = 0
maxErrors = 0
configFile = new File(rootDir, "config/checkstyle/google_checks.xml")
}