Proyectos de Subversion Android Microlearning

Rev

Rev 6 | Rev 13 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
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
19
        versionCode 79
20
        versionName '1.0.79'
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 {
38
    implementation 'androidx.appcompat:appcompat:1.4.0'
39
    implementation 'com.google.android.material:material:1.4.0'
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"
43
 
44
    implementation 'androidx.cardview:cardview:1.0.0'
45
    implementation 'androidx.recyclerview:recyclerview:1.2.1'
7 gabriel 46
  //  implementation 'com.codesgood:justifiedtextview:2.0.1'
1 efrain 47
    implementation 'com.google.android.exoplayer:exoplayer:2.12.2'
48
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
49
 
50
    implementation 'androidx.multidex:multidex:2.0.1'
51
    implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
52
    implementation 'pl.hypeapp:materialtimelineview:1.1'
53
    implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
54
 
55
    implementation 'com.squareup.okhttp3:okhttp:3.10.0'
56
    implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.10.0'
57
    implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
58
    // Import the BoM for the Firebase platform
59
    //implementation platform('com.google.firebase:firebase-bom:26.2.0')
60
    implementation 'com.google.firebase:firebase-analytics:20.0.0'
61
    implementation 'com.google.firebase:firebase-messaging:23.0.0'
62
    implementation 'com.google.firebase:firebase-crashlytics:18.2.5'
63
    implementation 'com.google.firebase:firebase-perf:20.0.4'
64
    implementation 'com.google.firebase:firebase-messaging-directboot:23.0.0'
65
    implementation 'androidx.navigation:navigation-ui:2.3.5'
66
 
67
    implementation 'com.github.bumptech.glide:glide:4.11.0'
4 gabriel 68
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
1 efrain 69
    // Skip this if you don't want to use integration libraries or configure Glide.
70
    annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
71
 
72
    testImplementation 'junit:junit:4.+'
73
    // optional - Test helpers for LiveData
74
    testImplementation "androidx.arch.core:core-testing:2.1.0"
75
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
76
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
77
 
78
    def lifecycle_version = "2.4.0"
79
    def arch_version = "2.1.0"
80
 
81
    // ViewModel
82
    implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
83
    // LiveData
84
    implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
85
    // Lifecycles only (without ViewModel or LiveData)
86
    implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
87
 
88
    // Saved state module for ViewModel
89
    implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycle_version"
90
 
91
    // Annotation processor
92
    annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
93
    // alternately - if using Java8, use the following instead of lifecycle-compiler
94
    implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
95
 
96
    // optional - helpers for implementing LifecycleOwner in a Service
97
    implementation "androidx.lifecycle:lifecycle-service:$lifecycle_version"
98
 
99
    // optional - ProcessLifecycleOwner provides a lifecycle for the whole application process
100
    implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
101
 
102
    // optional - ReactiveStreams support for LiveData
103
    implementation "androidx.lifecycle:lifecycle-reactivestreams:$lifecycle_version"
104
 
105
    // optional - Test helpers for LiveData
106
    testImplementation "androidx.arch.core:core-testing:$arch_version"
107
 
108
    def room_version = "2.3.0"
109
 
110
    implementation "androidx.room:room-runtime:$room_version"
111
    annotationProcessor "androidx.room:room-compiler:$room_version"
112
 
113
    // optional - RxJava2 support for Room
114
    implementation "androidx.room:room-rxjava2:$room_version"
115
 
116
    // optional - RxJava3 support for Room
117
    implementation "androidx.room:room-rxjava3:$room_version"
118
 
119
    // optional - Guava support for Room, including Optional and ListenableFuture
120
    implementation "androidx.room:room-guava:$room_version"
121
 
122
    // optional - Test helpers
123
    testImplementation "androidx.room:room-testing:$room_version"
124
 
125
    // optional - Paging 3 Integration
126
    implementation "androidx.room:room-paging:2.4.0-rc01"
127
 
3 gabriel 128
    // ViewPager animation
1 efrain 129
 
3 gabriel 130
    implementation 'com.wajahatkarim:easyflipviewpager:2.0.1'
1 efrain 131
 
132
 
4 gabriel 133
    def lottieVersion = "4.2.2"
134
    implementation "com.airbnb.android:lottie:$lottieVersion"
1 efrain 135
 
136
}