ouinet-examples/android/kotlin/app/build.gradle
2022-11-29 20:38:36 +01:00

54 lines
1.8 KiB
Groovy

plugins {
id 'com.android.application'
id 'kotlin-android'
}
Properties defaultOuinetProperties = new Properties()
defaultOuinetProperties.load(rootProject.file('ouinet.default.properties').newDataInputStream())
android {
compileSdk 32
defaultConfig {
applicationId "ie.equalit.ouinet_examples.android_kotlin"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "CACHE_PUB_KEY", defaultOuinetProperties['CACHE_PUB_KEY']
buildConfigField "String", "INJECTOR_CREDENTIALS", defaultOuinetProperties['INJECTOR_CREDENTIALS']
buildConfigField "String", "INJECTOR_TLS_CERT", defaultOuinetProperties['INJECTOR_TLS_CERT']
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'ie.equalit.ouinet:ouinet-omni:0.21.3'
implementation 'com.getkeepsafe.relinker:relinker:1.4.4'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}