plugins { id 'com.android.library' id 'expo-module-gradle-plugin' } group = 'com.t3tools.agentnotifications' version = '0.0.0' android { namespace 'expo.modules.t3agentnotifications' defaultConfig { versionCode 1 versionName '0.0.0' } testOptions { unitTests.includeAndroidResources = true } } dependencies { implementation project(':expo-notifications') implementation 'com.google.firebase:firebase-messaging:25.0.1' implementation 'androidx.core:core:1.17.0' implementation 'androidx.lifecycle:lifecycle-process:2.9.3' testImplementation 'junit:junit:4.13.2' testImplementation 'org.robolectric:robolectric:4.16.1' } // Expo compiles modules with Java 17; Robolectric's Android 16 runtime needs 21. tasks.withType(Test).configureEach { javaLauncher = javaToolchains.launcherFor { languageVersion = JavaLanguageVersion.of(21) } }