From 037adb17704565db7af7c431b76378043e8f22db Mon Sep 17 00:00:00 2001 From: Mansi-mParticle <159845845+Mansi-mParticle@users.noreply.github.com> Date: Wed, 15 May 2024 16:23:09 -0400 Subject: [PATCH] Configure JVM arguments for test cases to address compatibility issues with JDK 17 (#97) --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index a496d9a..d50048f 100644 --- a/build.gradle +++ b/build.gradle @@ -38,6 +38,11 @@ android { defaultConfig { minSdkVersion 16 } + testOptions { + unitTests.all { + jvmArgs += ['--add-opens', 'java.base/java.lang=ALL-UNNAMED'] + } + } } dependencies {