// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() mavenCentral() maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:8.0.2' classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION" classpath 'org.codehaus.groovy:groovy-all:2.4.15' } } allprojects { repositories { google() mavenCentral() gradlePluginPortal() // potential jcenter() replacement maven { url "https://jitpack.io" } maven { url "https://maven.google.com" } jcenter() } } subprojects{ tasks.withType(Test).configureEach{ jvmArgs = jvmArgs + ['--add-opens=java.base/java.lang=ALL-UNNAMED'] } }