diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-06 11:07:28 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-06 11:07:28 -0800 |
commit | 3feb9c15e32c619cd94e7a58b79cd54001751a45 (patch) | |
tree | f749dda16bf0ca2403658da421e7c16ec2a92971 /build.gradle | |
parent | 5505721ed5327eb65cfbbf64ad95bc956d588ba4 (diff) | |
download | trackermap-server-3feb9c15e32c619cd94e7a58b79cd54001751a45.tar.gz trackermap-server-3feb9c15e32c619cd94e7a58b79cd54001751a45.tar.bz2 trackermap-server-3feb9c15e32c619cd94e7a58b79cd54001751a45.zip |
Enable unit tests
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 17728e0ce..a9f9f07cd 100644 --- a/build.gradle +++ b/build.gradle @@ -32,6 +32,7 @@ ext { jacksonVersion = "2.13.3" // same version as jersey-media-json-jackson dependency protobufVersion = "3.21.12" jxlsVersion = "2.12.0" + junitVersion = "5.9.2" } protobuf { @@ -85,10 +86,15 @@ dependencies { implementation "com.hivemq:hivemq-mqtt-client:1.3.0" implementation "redis.clients:jedis:4.3.1" implementation "com.google.firebase:firebase-admin:9.1.1" - testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.2" + testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion" + testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion" testImplementation "org.mockito:mockito-core:4.+" } +test { + useJUnitPlatform() +} + task copyDependencies(type: Copy) { into "$projectDir/target/lib" from configurations.runtimeClasspath |