-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathbuild.gradle
42 lines (33 loc) · 1.06 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
plugins {
id 'java'
id 'application'
id "com.github.ben-manes.versions" version "0.20.0"
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
mainClassName = 'ohm.softa.a12.App'
dependencies {
/* Commons Lang3 */
implementation("org.apache.commons:commons-lang3:$commons_lang_version")
/* Retrofit */
implementation("com.squareup.retrofit2:retrofit:$retrofit2_version")
implementation("com.squareup.retrofit2:converter-gson:$retrofit2_version")
implementation("com.squareup.retrofit2:adapter-java8:$retrofit2_version")
/* JUnit 5 */
testCompile("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
testRuntime("org.junit.jupiter:junit-jupiter-params:${junitVersion}")
testImplementation("org.apache.logging.log4j:log4j-core:${log4jVersion}")
testRuntime("org.apache.logging.log4j:log4j-jul:${log4jVersion}")
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}