-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
72 lines (61 loc) · 2.03 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.0.1/userguide/java_library_plugin.html
*/
plugins {
id 'jacoco'
id 'checkstyle'
id 'java-library'
id 'maven-publish'
id 'com.github.ben-manes.versions' version '0.39.0'
id 'com.github.dawnwords.jacoco.badge' version '0.2.4'
}
group = 'com.github.jkatzwinkel'
version = '0.0.905'
sourceCompatibility = '11'
publishing {
publications {
maven(MavenPublication) {
artifactId = 'tla-common'
pom {
name = 'TLA Commons'
description = 'DTO model and utility functions for the Thesaurus Linguae Aegyptiae web publication components'
}
from components.java
}
}
}
repositories {
mavenCentral()
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
api 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
implementation 'org.slf4j:slf4j-api:2.0.0-alpha1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.0-M1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.0-M1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.0-M1'
}
checkstyle {
toolVersion '8.29'
configFile file("config/checkstyle/checkstyle.xml")
ignoreFailures = true
maxErrors = 100
}
checkstyleMain {
configProperties += [
'checkstyle.header.file': file('config/checkstyle/java.header'),
'checkstyle.regexp.header.file': file('config/checkstyle/java_regexp.header')
]
}
checkstyleTest {
configFile file("config/checkstyle/checkstyle-tests.xml")
configProperties += [
'checkstyle.header.file': file('config/checkstyle/java.header'),
'checkstyle.regexp.header.file': file('config/checkstyle/java_regexp.header')
]
}