<lambda>null1*e6ba1607SAndroid Build Coastguard Workerplugins { alias(libs.plugins.robolectric.java.module) } 2*e6ba1607SAndroid Build Coastguard Worker 3*e6ba1607SAndroid Build Coastguard Worker val earlyRuntime by configurations.registering 4*e6ba1607SAndroid Build Coastguard Worker val axtJunitVersion: String by rootProject.extra 5*e6ba1607SAndroid Build Coastguard Worker <lambda>null6*e6ba1607SAndroid Build Coastguard Workerdependencies { 7*e6ba1607SAndroid Build Coastguard Worker // compile against latest Android SDK (AndroidSdk.s.coordinates) { force = true } 8*e6ba1607SAndroid Build Coastguard Worker compileOnly(AndroidSdk.MAX_SDK.coordinates) 9*e6ba1607SAndroid Build Coastguard Worker testImplementation(project(":robolectric")) 10*e6ba1607SAndroid Build Coastguard Worker testImplementation(libs.truth) 11*e6ba1607SAndroid Build Coastguard Worker testImplementation("androidx.test.ext:junit:$axtJunitVersion@aar") 12*e6ba1607SAndroid Build Coastguard Worker testCompileOnly(AndroidSdk.MAX_SDK.coordinates) // compile against latest Android SDK 13*e6ba1607SAndroid Build Coastguard Worker testRuntimeOnly(AndroidSdk.MAX_SDK.coordinates) // run against whatever this JDK supports 14*e6ba1607SAndroid Build Coastguard Worker } 15