t3-code-android-nightly/apps/mobile/modules/t3-agent-notifications/android/build.gradle
Ryan Hughes 6c583620ff
feat(mobile): add Android agent notifications and ongoing activity (#10416)
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
2026-09-08 21:54:28 -07:00

34 lines
881 B
Groovy

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)
}
}