-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
74 lines (63 loc) · 2.09 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
plugins {
id 'java'
//id 'checkstyle'
}
group "com.codekata"
version "0.9"
repositories {
mavenCentral()
}
ext {
//javadocVersion = "3.6.2"
//mavenJavadocVersion = "3.6.2"
checkstyleVersion = "8.17"
lombokVersion = "1.18.30"
jacksonDatabindVersion = "2.16.1"
commonsVersion = "3.12.0"
commonCollectionVersion = "4.4"
groovyVersion = "3.0.9"
guavaVersion = "33.0.0-jre"
jsonSimpleVersion = "1.1.1"
datafakerVersion = "1.9.0"
junitVersion = "4.13.2"
}
dependencies {
implementation "org.apache.commons:commons-lang3:${commonsVersion}"
implementation "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
implementation "org.apache.commons:commons-collections4:${commonCollectionVersion}"
implementation "commons-io:commons-io:2.15.1"
implementation "org.codehaus.groovy:groovy-all:${groovyVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonDatabindVersion}"
implementation "com.google.guava:guava:${guavaVersion}"
implementation "com.googlecode.json-simple:json-simple:${jsonSimpleVersion}"
implementation "net.datafaker:datafaker:${datafakerVersion}"
testImplementation "junit:junit:${junitVersion}"
// implementation(files(rootProject.projectDir.resolve("buildSrc/build/classes/java/main")))
}
//checkstyle {
// toolVersion "${checkstyleVersion}"
// configFile = file("${projectDir}/config/checkstyle/checkstyle.xml")
// def suppressionFile = new File("${projectDir}/config/checkstyle/checkstyle-suppressions.xml")
// configProperties.checkstyleSuppressionsPath = suppressionFile.absolutePath
//}
//task checkstyle(type: Checkstyle) {
// source "src"
// include "**/*.java"
// exclude "**/gen/**"
// classpath = files()
//}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
vendor = JvmVendorSpec.SAP
implementation = JvmImplementation.VENDOR_SPECIFIC
}
}
import com.codekata.*;
task helloPath {
PathOfHandler.main()
}
task helloConfig {
CheckConfig.main()
}