-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
46 lines (38 loc) · 1.55 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
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'java'
id 'application'
}
group = "org.exercism"
version = "1.0-SNAPSHOT"
mainClassName = 'com.exercism.TestRunner'
repositories {
mavenCentral()
}
dependencies {
def autoValueVersion = "1.10.4"
def jacksonVersion = "2.18.2"
implementation "com.google.auto.value:auto-value-annotations:$autoValueVersion"
annotationProcessor "com.google.auto.value:auto-value:$autoValueVersion"
implementation 'com.google.guava:guava:33.4.0-jre'
implementation "com.fasterxml.jackson.core:jackson-core:$jacksonVersion"
implementation "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$jacksonVersion"
implementation 'com.github.javaparser:javaparser-core:3.26.2'
implementation 'org.assertj:assertj-core:3.25.3'
implementation 'org.apiguardian:apiguardian-api:1.1.2' // https://github.com/exercism/java-test-runner/issues/79
implementation platform('org.junit:junit-bom:5.11.3')
implementation 'org.junit.jupiter:junit-jupiter'
implementation 'org.junit.platform:junit-platform-launcher'
runtimeOnly 'org.junit.jupiter:junit-jupiter-engine'
// Add exercise dependencies to runtime classpath
runtimeOnly 'org.json:json:20190722' // used in practice:rest-api
runtimeOnly 'io.reactivex.rxjava2:rxjava:2.2.12' // used in practice:hangman
}
shadowJar {
mergeServiceFiles()
archiveFileName.set("java-test-runner.jar")
}
artifacts {
archives shadowJar
}