plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-parcelize'
id 'com.google.gms.google-services'
id 'org.jetbrains.kotlin.android'
}
android {
compileSdkVersion 34
buildFeatures {
buildConfig true
}
defaultConfig {
applicationId "com.reconosersdk"
minSdkVersion 26
targetSdkVersion 34
versionCode 3
versionName library_version
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
missingDimensionStrategy "releaseType", "develop", "staging", "production"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
buildFeatures {
dataBinding true // for data binding
viewBinding true // for view binding
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}
lint {
abortOnError false
checkReleaseBuilds false
}
}
configurations.all {
resolutionStrategy.preferProjectModules()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'com.google.android.material:material:1.9.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
// ReconoserSDK
implementation 'org.bitbucket.reconoser_id.sdk_android:reconosersdk-develop:3.1.7'
// Retrofit
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.squareup.okhttp3:logging-interceptor:4.11.0'
}