-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (46 loc) · 1.86 KB
/
build.gradle
File metadata and controls
54 lines (46 loc) · 1.86 KB
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
plugins {
id 'java-library'
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
sourceCompatibility = JavaVersion.VERSION_1_8
group = GROUP_ID
version = VERSION
ext {
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
slf4jVersion = "1.7.36"
// https://mvnrepository.com/artifact/org.projectlombok/lombok
lombokVersion = "1.18.22"
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
junitVersion = "5.8.2"
// https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-core
jmhVersion = "1.35"
}
dependencies {
compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
testImplementation "org.slf4j:slf4j-simple:$slf4jVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
testImplementation "org.openjdk.jmh:jmh-core:$jmhVersion"
testAnnotationProcessor "org.openjdk.jmh:jmh-generator-annprocess:$jmhVersion"
implementation "org.dreamcat:common-core:0.2.1"
implementation "org.dreamcat:round-el:0.1"
testImplementation "org.dreamcat:common-x:0.2.1"
// // https://mvnrepository.com/artifact/org.freemarker/freemarker
testImplementation 'org.freemarker:freemarker:2.3.31'
// https://mvnrepository.com/artifact/org.apache.velocity/velocity-engine-core
testImplementation 'org.apache.velocity:velocity-engine-core:2.3'
}
test {
useJUnitPlatform()
}
apply from: "./publish.gradle"