92 lines
3.3 KiB
Groovy
92 lines
3.3 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
useLibrary 'org.apache.http.legacy'
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
exclude 'mozilla/public-suffix-list.txt'
|
|
|
|
}
|
|
defaultConfig {
|
|
applicationId 'com.empatica.empalinksample'
|
|
minSdkVersion 19
|
|
targetSdkVersion 30
|
|
versionCode 2323
|
|
versionName "1.2"
|
|
multiDexEnabled true
|
|
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
productFlavors {
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
//// DE-COMMENT THIS IF YOU HAVE ISSUES AT RUNTIME, CRASHING WITH java.lang.UnsatisfiedLinkError
|
|
|
|
//android {
|
|
//
|
|
// splits {
|
|
//
|
|
// // Configures multiple APKs based on ABI.
|
|
// abi {
|
|
//
|
|
// // Enables building multiple APKs per ABI.
|
|
// enable true
|
|
//
|
|
// // By default all ABIs are included, so use reset() and include to specify that we only
|
|
// // want APKs for x86, armeabi-v7a, and mips.
|
|
//
|
|
// // Resets the list of ABIs that Gradle should create APKs for to none.
|
|
// reset()
|
|
//
|
|
// // Specifies a list of ABIs that Gradle should create APKs for.
|
|
// include 'armeabi-v7a', 'x86', 'x86_64' // de-comment this to test on emulator
|
|
// // include 'armeabi-v7a'
|
|
//
|
|
// // Specifies that we do not want to also generate a universal APK that includes all ABIs.
|
|
// universalApk false
|
|
// }
|
|
// }
|
|
//}
|
|
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'com.empatica.empalink:E4link:1.0.0@aar'
|
|
implementation 'com.squareup.okhttp:okhttp:2.7.5'
|
|
implementation platform('com.google.firebase:firebase-bom:29.1.0')
|
|
implementation 'com.google.firebase:firebase-analytics:20.1.0'
|
|
implementation 'com.google.firebase:firebase-storage:20.0.0'
|
|
implementation 'com.google.firebase:firebase-auth:21.0.1'
|
|
implementation 'com.google.firebase:firebase-firestore:24.0.1'
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
implementation 'com.google.firebase:firebase-database:20.0.3'
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'com.google.firebase:firebase-crashlytics-buildtools:2.8.1'
|
|
implementation 'com.google.http-client:google-http-client-android:+'
|
|
implementation 'com.google.api-client:google-api-client-android:+'
|
|
implementation 'com.google.api-client:google-api-client-gson:+'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.7.2'
|
|
implementation 'com.android.volley:volley:1.1.1'
|
|
implementation 'com.google.android.material:material:1.5.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
|
implementation 'androidx.navigation:navigation-fragment:2.3.5'
|
|
implementation 'androidx.navigation:navigation-ui:2.3.5'
|
|
implementation 'com.google.android.material:material:1.5.0-alpha02'
|
|
} |