-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.07 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
import com.github.spotbugs.SpotBugsTask
plugins {
id 'java-library'
id 'com.diffplug.gradle.spotless' version '3.24.0'
id 'com.github.spotbugs' version '2.0.0'
id 'idea'
id 'maven-publish'
}
repositories {
mavenCentral()
}
tasks.withType(SpotBugsTask) {
reports {
xml.enabled = false
html.enabled = true
}
}
spotless {
java {
googleJavaFormat('1.7')
}
}
idea {
module {
outputDir file('build/classes/main')
testOutputDir file('build/classes/test')
}
}
ext {
lombokVersion = '1.18.8'
}
dependencies {
// lombok
compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
// required for newer JDKs
api 'org.glassfish.jaxb:jaxb-runtime:2.3.0'
implementation 'javax.activation:activation:1.1.1'
}
group = 'tslic.discogs'
version = '1.0'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}