-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (38 loc) · 903 Bytes
/
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
plugins {
id 'java'
id 'application'
}
group 'com.owainlewis'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.9
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.0.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.0.3'
compile 'org.projectlombok:lombok:1.18.12'
// https://mvnrepository.com/artifact/org.ow2.asm/asm
compile group: 'org.ow2.asm', name: 'asm', version: '7.0'
}
apply plugin : "java"
ext {
javaMainClass = "com.owainlewis.arch.Main"
}
// Tasks
run {
standardInput = System.in
}
application {
mainClassName = javaMainClass
}
test {
useJUnitPlatform()
testLogging.showStandardStreams = true
// Always run tests, even when nothing changed.
dependsOn 'cleanTest'
// Show test results.
testLogging {
events "passed", "skipped", "failed"
}
}