summaryrefslogtreecommitdiff
path: root/domain/build.gradle
blob: fe53df011547689f5d297ea32168d18fa6a77200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
plugins {
    // Tell Gradle that we are builing java as a library (non-executable piece of code intended for use by other applications).
    id 'java'
    id 'java-library'
}

repositories {
    // Specify the repository mirror that we want to download our dependencies from. JCentral is configured by default when creating a new Gradle project.
    jcenter()
}

dependencies {
    // Download JUnit so that we can use it in our tests.
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
    testRuntimeOnly "org.junit.platform:junit-platform-commons:1.7.0"
}

test {
    // For running our tests, use the test runner provided by JUnit.
    useJUnitPlatform()
}