buildscript { repositories { maven { url 'https://maven.google.com/' name 'Google' } mavenCentral() google() } dependencies { classpath 'com.android.tools.build:gradle:8.1.2' } } plugins { id "org.ajoberstar.grgit" version "1.2.0-milestone.5" } allprojects { repositories { maven { url 'https://maven.google.com/' name 'Google' } mavenCentral() } } subprojects{ tasks.withType(Test).configureEach{ jvmArgs = jvmArgs + ['--add-opens=java.base/java.lang=ALL-UNNAMED', '--add-exports=java.base/java.lang=ALL-UNNAMED', '--add-reads=java.base/java.lang=ALL-UNNAMED'] } }