apply plugin: 'com.android.library'

group = 'host.exp.exponent'
version = '0.14.3'

def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
apply from: expoModulesCorePlugin
applyKotlinExpoModulesCorePlugin()
useCoreDependencies()
useDefaultAndroidSdkVersions()
useExpoPublishing()

android {
  namespace "expo.modules.manifests"
  defaultConfig {
    versionCode 31
    versionName '0.14.3'
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  }
  testOptions {
    unitTests.includeAndroidResources = true
  }
  sourceSets {
    androidTest.assets.srcDirs += files("$projectDir/src/androidTest/schemas".toString())
  }
}

dependencies {
  implementation project(':expo-json-utils')

  testImplementation 'junit:junit:4.13.2'
  testImplementation 'androidx.test:core:1.5.0'
  testImplementation 'org.mockito:mockito-core:4.0.0'
  testImplementation 'io.mockk:mockk:1.13.5'
  testImplementation 'org.json:json:20230227'
  testImplementation "com.google.truth:truth:1.1.2"
}
