forked from bobbylight/RSyntaxTextArea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·79 lines (67 loc) · 1.57 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:5.0.1'
}
}
plugins {
id 'com.github.spotbugs' version '4.2.3'
}
group 'com.fifesoft'
// NOTE: Local Java 8: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
allprojects {
repositories {
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
wrapper {
gradleVersion = '6.4.1'
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'com.github.spotbugs'
checkstyle {
toolVersion = '8.32'
configDirectory = file("$rootProject.projectDir/config/checkstyle")
}
spotbugs {
// Relative to subprojects
includeFilter = file('../config/spotbugs-exclude.xml')
}
spotbugsMain {
reports {
html {
enabled = true
}
xml {
enabled = false
}
}
}
spotbugsTest {
reports {
html {
enabled = true
}
xml {
enabled = false
}
}
}
dependencies {
testImplementation 'junit:junit:4.13'
}
compileJava {
sourceCompatibility javaVersion
targetCompatibility javaVersion
options.debug = true
options.debugOptions.debugLevel = 'source,vars,lines'
options.compilerArgs << '-Xlint:deprecation' << '-Xlint:unchecked'
}
}