apply plugin: 'com.android.library'

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

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

android {
  namespace "expo.modules.jsonutils"
  defaultConfig {
    versionCode 31
    versionName '0.13.1'
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  }
  testOptions {
    unitTests.includeAndroidResources = true
  }
}

dependencies {
  testImplementation 'junit:junit:4.13.2'
  testImplementation 'androidx.test:core:1.4.0'
  testImplementation 'org.mockito:mockito-core:1.10.19'
  testImplementation 'io.mockk:mockk:1.12.3'

  androidTestImplementation('org.amshove.kluent:kluent-android:1.72') {
    exclude group: 'org.jetbrains.kotlin'
  }
  androidTestImplementation 'androidx.test:runner:1.4.0'
  androidTestImplementation 'androidx.test:core:1.4.0'
  androidTestImplementation 'androidx.test:rules:1.4.0'
  androidTestImplementation 'org.mockito:mockito-android:3.7.7'
  androidTestImplementation 'io.mockk:mockk-android:1.12.3'
}
