From 12e856ca116988c76c6f65f6b4c01392fa05db9c Mon Sep 17 00:00:00 2001 From: Michael Comella Date: Wed, 21 Oct 2020 11:24:24 -0700 Subject: [PATCH] For #15707: correctly configure JUnit for mozilla-detekt-rules. Without this, the tests would not run from the command line though they could run in Android Studio. --- mozilla-detekt-rules/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla-detekt-rules/build.gradle b/mozilla-detekt-rules/build.gradle index 3b046618b..fd3f07c1f 100644 --- a/mozilla-detekt-rules/build.gradle +++ b/mozilla-detekt-rules/build.gradle @@ -15,3 +15,6 @@ dependencies { testRuntimeOnly Deps.junitEngine } +test { + useJUnitPlatform {} +}