Commit ad82d490 authored by Daniel Sonck's avatar Daniel Sonck
Browse files

[THFMA-33] Fix unit test results

parent 9cd2c754
...@@ -17,6 +17,7 @@ plugins { ...@@ -17,6 +17,7 @@ plugins {
id 'com.github.triplet.play' version '2.4.1' id 'com.github.triplet.play' version '2.4.1'
} }
apply from: 'version.gradle' apply from: 'version.gradle'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
...@@ -87,6 +88,7 @@ android { ...@@ -87,6 +88,7 @@ android {
versionCode gitVersionCode versionCode gitVersionCode
versionName gitVersionName versionName gitVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
compileOptions { compileOptions {
...@@ -127,6 +129,13 @@ android { ...@@ -127,6 +129,13 @@ android {
path 'src/main/cpp/CMakeLists.txt' path 'src/main/cpp/CMakeLists.txt'
} }
} }
testOptions {
unitTests.all {
useJUnitPlatform()
}
}
} }
if(file('release.gradle').exists()) { if(file('release.gradle').exists()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment