2022-06-01 21:47:54 +02:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
}
|
|
|
|
|
2022-06-01 23:58:47 +02:00
|
|
|
Properties localProperties = new Properties()
|
|
|
|
localProperties.load(rootProject.file('local.properties').newDataInputStream())
|
|
|
|
|
2022-06-01 21:47:54 +02:00
|
|
|
android {
|
|
|
|
compileSdk 32
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "ie.equalit.ouinet_examples.android_java"
|
|
|
|
minSdk 21
|
|
|
|
targetSdk 32
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2022-06-01 23:58:47 +02:00
|
|
|
|
|
|
|
buildConfigField "String", "CACHE_PUB_KEY", localProperties['CACHE_PUB_KEY']
|
|
|
|
buildConfigField "String", "INJECTOR_CREDENTIALS", localProperties['INJECTOR_CREDENTIALS']
|
|
|
|
buildConfigField "String", "INJECTOR_TLS_CERT", localProperties['INJECTOR_TLS_CERT']
|
2022-06-01 21:47:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
|
|
implementation 'com.google.android.material:material:1.6.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2022-10-19 03:39:02 +02:00
|
|
|
implementation 'ie.equalit.ouinet:ouinet-omni:0.21.3'
|
2022-06-01 23:58:02 +02:00
|
|
|
implementation 'com.getkeepsafe.relinker:relinker:1.4.4'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
|
2022-06-01 21:47:54 +02:00
|
|
|
testImplementation 'junit:junit:4.+'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2022-10-19 03:39:02 +02:00
|
|
|
}
|