74 lines
2.2 KiB
Groovy
74 lines
2.2 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'expo-module-gradle-plugin'
|
|
}
|
|
|
|
expoModule {
|
|
canBePublished false
|
|
}
|
|
|
|
group = "host.exp.exponent"
|
|
version = "6.0.20"
|
|
|
|
android {
|
|
namespace "expo.modules.devclient"
|
|
defaultConfig {
|
|
versionCode 1
|
|
versionName "6.0.20"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
buildTypes.each {
|
|
it.buildConfigField 'String', 'VERSION', "\"${defaultConfig.versionName}\""
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
viewBinding true
|
|
}
|
|
|
|
packaging {
|
|
resources {
|
|
merges.add("/META-INF/LICENSE*")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
androidTestImplementation project(":expo-dev-menu-interface")
|
|
androidTestImplementation project(":expo-updates-interface")
|
|
androidTestImplementation project(":expo-dev-menu")
|
|
androidTestImplementation project(":expo-dev-launcher")
|
|
androidTestImplementation project(":expo-manifests")
|
|
|
|
androidTestImplementation 'com.facebook.react:react-android'
|
|
androidTestImplementation 'com.facebook.react:hermes-android'
|
|
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.6.1')
|
|
androidTestImplementation('androidx.test:core:1.6.1')
|
|
androidTestImplementation('androidx.test:core-ktx:1.6.1')
|
|
androidTestImplementation('androidx.test.ext:junit:1.2.1')
|
|
androidTestImplementation('androidx.test.ext:junit-ktx:1.2.1')
|
|
androidTestImplementation('androidx.test:runner:1.6.2')
|
|
androidTestImplementation('androidx.test:rules:1.6.1')
|
|
|
|
androidTestImplementation 'org.webkit:android-jsc:+'
|
|
|
|
androidTestImplementation "io.insert-koin:koin-test:3.1.2"
|
|
androidTestImplementation "io.insert-koin:koin-test-junit4:3.1.2"
|
|
|
|
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3"
|
|
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1"
|
|
|
|
androidTestImplementation "androidx.appcompat:appcompat:1.7.0"
|
|
|
|
androidTestImplementation "com.google.truth:truth:1.1.2"
|
|
androidTestImplementation 'io.mockk:mockk-android:1.13.11'
|
|
|
|
// Fixes "e: java.lang.AssertionError: No such enum entry LIBRARY_GROUP_PREFIX in org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImpl@b254b575"
|
|
// According to the https://stackoverflow.com/a/67736351
|
|
implementation 'androidx.annotation:annotation:1.2.0'
|
|
}
|