-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
46 lines (37 loc) · 851 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
39
40
41
42
43
44
45
46
plugins {
id 'application'
id "org.sonarqube" version "2.7.1"
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
gradle.projectsEvaluated {
tasks.withType(JavaCompile){
options.compilerArgs << "-Xlint:deprecation"
}
}
dependencies {
testImplementation(platform('org.junit:junit-bom:5.6.2'))
testImplementation('org.junit.jupiter:junit-jupiter')
}
test {
useJUnitPlatform()
}
application{
mainClassName = 'sdm.reversi.Main'
}
jar {
manifest {
attributes ('Main-class': 'sdm.reversi.launcher.Main')
}
}
sonarqube {
properties {
property "sonar.projectName", "reversi"
property "sonar.projectKey", "com.sonarqube.examples.java-gradle-travis-project"
}
}