| 1 | efrain | 1 | //plugins {
 | 
        
           |  |  | 2 | //    id 'com.android.application'
 | 
        
           |  |  | 3 | //}
 | 
        
           |  |  | 4 |   | 
        
           |  |  | 5 | apply plugin: 'com.android.application'
 | 
        
           |  |  | 6 | apply plugin: 'com.google.gms.google-services'
 | 
        
           |  |  | 7 | apply plugin: 'com.google.firebase.crashlytics'
 | 
        
           |  |  | 8 | apply plugin: 'com.google.firebase.firebase-perf'
 | 
        
           |  |  | 9 |   | 
        
           |  |  | 10 | android {
 | 
        
           |  |  | 11 |     compileSdkVersion 31
 | 
        
           |  |  | 12 |     buildToolsVersion '31.0.0'
 | 
        
           |  |  | 13 |   | 
        
           |  |  | 14 |   | 
        
           |  |  | 15 |     defaultConfig {
 | 
        
           |  |  | 16 |         applicationId "com.cesams.twogetskills"
 | 
        
           | 5 | gabriel | 17 |         minSdkVersion 26
 | 
        
           | 1 | efrain | 18 |         targetSdkVersion 31
 | 
        
           | 25 | gabriel | 19 |         versionCode 90
 | 
        
           |  |  | 20 |         versionName '1.0.90'
 | 
        
           | 1 | efrain | 21 |         multiDexEnabled true
 | 
        
           |  |  | 22 |         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 | 
        
           |  |  | 23 |     }
 | 
        
           |  |  | 24 |   | 
        
           |  |  | 25 |     buildTypes {
 | 
        
           |  |  | 26 |         release {
 | 
        
           |  |  | 27 |             minifyEnabled false
 | 
        
           |  |  | 28 |             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
 | 
        
           |  |  | 29 |         }
 | 
        
           |  |  | 30 |     }
 | 
        
           |  |  | 31 |     compileOptions {
 | 
        
           |  |  | 32 |         sourceCompatibility JavaVersion.VERSION_1_8
 | 
        
           |  |  | 33 |         targetCompatibility JavaVersion.VERSION_1_8
 | 
        
           |  |  | 34 |     }
 | 
        
           |  |  | 35 | }
 | 
        
           |  |  | 36 |   | 
        
           |  |  | 37 | dependencies {
 | 
        
           | 13 | gabriel | 38 |     implementation 'androidx.appcompat:appcompat:1.4.1'
 | 
        
           |  |  | 39 |     implementation 'com.google.android.material:material:1.5.0'
 | 
        
           | 1 | efrain | 40 |     implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
 | 
        
           |  |  | 41 |     implementation 'androidx.navigation:navigation-fragment:2.3.5'
 | 
        
           |  |  | 42 |     implementation "androidx.multidex:multidex:2.0.1"
 | 
        
           | 13 | gabriel | 43 |     implementation 'androidx.work:work-runtime:2.8.0-alpha02'
 | 
        
           | 1 | efrain | 44 |   | 
        
           | 13 | gabriel | 45 |   | 
        
           | 1 | efrain | 46 |     implementation 'androidx.cardview:cardview:1.0.0'
 | 
        
           |  |  | 47 |     implementation 'androidx.recyclerview:recyclerview:1.2.1'
 | 
        
           | 7 | gabriel | 48 |   //  implementation 'com.codesgood:justifiedtextview:2.0.1'
 | 
        
           | 1 | efrain | 49 |     implementation 'com.google.android.exoplayer:exoplayer:2.12.2'
 | 
        
           |  |  | 50 |     implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
 | 
        
           |  |  | 51 |   | 
        
           |  |  | 52 |     implementation 'androidx.multidex:multidex:2.0.1'
 | 
        
           |  |  | 53 |     implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
 | 
        
           |  |  | 54 |     implementation 'pl.hypeapp:materialtimelineview:1.1'
 | 
        
           |  |  | 55 |     implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
 | 
        
           |  |  | 56 |   | 
        
           |  |  | 57 |     implementation 'com.squareup.okhttp3:okhttp:3.10.0'
 | 
        
           |  |  | 58 |     implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.10.0'
 | 
        
           |  |  | 59 |     implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
 | 
        
           |  |  | 60 |     // Import the BoM for the Firebase platform
 | 
        
           |  |  | 61 |     //implementation platform('com.google.firebase:firebase-bom:26.2.0')
 | 
        
           | 21 | gabriel | 62 |     implementation 'com.google.firebase:firebase-analytics:20.1.2'
 | 
        
           |  |  | 63 |     implementation 'com.google.firebase:firebase-messaging:23.0.3'
 | 
        
           |  |  | 64 |     implementation 'com.google.firebase:firebase-crashlytics:18.2.10'
 | 
        
           |  |  | 65 |     implementation 'com.google.firebase:firebase-perf:20.0.6'
 | 
        
           | 13 | gabriel | 66 |     implementation 'androidx.navigation:navigation-ui:2.4.2'
 | 
        
           | 1 | efrain | 67 |   | 
        
           |  |  | 68 |     implementation 'com.github.bumptech.glide:glide:4.11.0'
 | 
        
           | 4 | gabriel | 69 |     implementation 'androidx.legacy:legacy-support-v4:1.0.0'
 | 
        
           | 1 | efrain | 70 |     // Skip this if you don't want to use integration libraries or configure Glide.
 | 
        
           |  |  | 71 |     annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
 | 
        
           |  |  | 72 |   | 
        
           |  |  | 73 |     testImplementation 'junit:junit:4.+'
 | 
        
           |  |  | 74 |     // optional - Test helpers for LiveData
 | 
        
           |  |  | 75 |     testImplementation "androidx.arch.core:core-testing:2.1.0"
 | 
        
           |  |  | 76 |     androidTestImplementation 'androidx.test.ext:junit:1.1.3'
 | 
        
           |  |  | 77 |     androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
 | 
        
           |  |  | 78 |   | 
        
           |  |  | 79 |     def lifecycle_version = "2.4.0"
 | 
        
           |  |  | 80 |     def arch_version = "2.1.0"
 | 
        
           |  |  | 81 |   | 
        
           |  |  | 82 |     // ViewModel
 | 
        
           |  |  | 83 |     implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
 | 
        
           |  |  | 84 |     // LiveData
 | 
        
           |  |  | 85 |     implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
 | 
        
           |  |  | 86 |     // Lifecycles only (without ViewModel or LiveData)
 | 
        
           |  |  | 87 |     implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
 | 
        
           |  |  | 88 |   | 
        
           |  |  | 89 |     // Saved state module for ViewModel
 | 
        
           |  |  | 90 |     implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycle_version"
 | 
        
           |  |  | 91 |   | 
        
           |  |  | 92 |     // Annotation processor
 | 
        
           |  |  | 93 |     annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
 | 
        
           |  |  | 94 |     // alternately - if using Java8, use the following instead of lifecycle-compiler
 | 
        
           |  |  | 95 |     implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
 | 
        
           |  |  | 96 |   | 
        
           |  |  | 97 |     // optional - helpers for implementing LifecycleOwner in a Service
 | 
        
           |  |  | 98 |     implementation "androidx.lifecycle:lifecycle-service:$lifecycle_version"
 | 
        
           |  |  | 99 |   | 
        
           |  |  | 100 |     // optional - ProcessLifecycleOwner provides a lifecycle for the whole application process
 | 
        
           |  |  | 101 |     implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
 | 
        
           |  |  | 102 |   | 
        
           |  |  | 103 |     // optional - ReactiveStreams support for LiveData
 | 
        
           |  |  | 104 |     implementation "androidx.lifecycle:lifecycle-reactivestreams:$lifecycle_version"
 | 
        
           | 14 | gabriel | 105 |     implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'
 | 
        
           | 1 | efrain | 106 |   | 
        
           |  |  | 107 |     // optional - Test helpers for LiveData
 | 
        
           |  |  | 108 |     testImplementation "androidx.arch.core:core-testing:$arch_version"
 | 
        
           |  |  | 109 |   | 
        
           |  |  | 110 |     def room_version = "2.3.0"
 | 
        
           |  |  | 111 |   | 
        
           |  |  | 112 |     implementation "androidx.room:room-runtime:$room_version"
 | 
        
           |  |  | 113 |     annotationProcessor "androidx.room:room-compiler:$room_version"
 | 
        
           |  |  | 114 |   | 
        
           |  |  | 115 |     // optional - RxJava2 support for Room
 | 
        
           |  |  | 116 |     implementation "androidx.room:room-rxjava2:$room_version"
 | 
        
           |  |  | 117 |   | 
        
           |  |  | 118 |     // optional - RxJava3 support for Room
 | 
        
           |  |  | 119 |     implementation "androidx.room:room-rxjava3:$room_version"
 | 
        
           |  |  | 120 |   | 
        
           |  |  | 121 |     // optional - Guava support for Room, including Optional and ListenableFuture
 | 
        
           |  |  | 122 |     implementation "androidx.room:room-guava:$room_version"
 | 
        
           |  |  | 123 |   | 
        
           |  |  | 124 |     // optional - Test helpers
 | 
        
           |  |  | 125 |     testImplementation "androidx.room:room-testing:$room_version"
 | 
        
           |  |  | 126 |   | 
        
           |  |  | 127 |     // optional - Paging 3 Integration
 | 
        
           |  |  | 128 |     implementation "androidx.room:room-paging:2.4.0-rc01"
 | 
        
           |  |  | 129 |   | 
        
           | 3 | gabriel | 130 |     // ViewPager animation
 | 
        
           | 1 | efrain | 131 |   | 
        
           | 3 | gabriel | 132 |     implementation 'com.wajahatkarim:easyflipviewpager:2.0.1'
 | 
        
           | 1 | efrain | 133 |   | 
        
           |  |  | 134 |   | 
        
           | 4 | gabriel | 135 |     def lottieVersion = "4.2.2"
 | 
        
           |  |  | 136 |     implementation "com.airbnb.android:lottie:$lottieVersion"
 | 
        
           | 1 | efrain | 137 |   | 
        
           |  |  | 138 | }
 |