Proyectos de Subversion Android Microlearning

Rev

Rev 3 | Rev 5 | 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
 
16
    defaultConfig {
17
        applicationId "com.cesams.twogetskills"
2 gabriel 18
        minSdkVersion 28
1 efrain 19
        targetSdkVersion 31
20
        versionCode 79
21
        versionName '1.0.79'
22
        multiDexEnabled true
23
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
24
    }
25
 
26
    buildTypes {
27
        release {
28
            minifyEnabled false
29
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
30
        }
31
    }
32
    compileOptions {
33
        sourceCompatibility JavaVersion.VERSION_1_8
34
        targetCompatibility JavaVersion.VERSION_1_8
35
    }
36
}
37
 
38
dependencies {
39
    implementation 'androidx.appcompat:appcompat:1.4.0'
40
    implementation 'com.google.android.material:material:1.4.0'
41
    implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
42
    implementation 'androidx.navigation:navigation-fragment:2.3.5'
43
    implementation "androidx.multidex:multidex:2.0.1"
44
 
45
    implementation 'androidx.cardview:cardview:1.0.0'
46
    implementation 'androidx.recyclerview:recyclerview:1.2.1'
47
    implementation 'com.codesgood:justifiedtextview:2.0.1'
48
    implementation 'com.google.android.exoplayer:exoplayer:2.12.2'
49
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
50
 
51
    implementation 'androidx.multidex:multidex:2.0.1'
52
    implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
53
    implementation 'pl.hypeapp:materialtimelineview:1.1'
54
    implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
55
 
56
    implementation 'com.squareup.okhttp3:okhttp:3.10.0'
57
    implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.10.0'
58
    implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
59
    // Import the BoM for the Firebase platform
60
    //implementation platform('com.google.firebase:firebase-bom:26.2.0')
61
    implementation 'com.google.firebase:firebase-analytics:20.0.0'
62
    implementation 'com.google.firebase:firebase-messaging:23.0.0'
63
    implementation 'com.google.firebase:firebase-crashlytics:18.2.5'
64
    implementation 'com.google.firebase:firebase-perf:20.0.4'
65
    implementation 'com.google.firebase:firebase-messaging-directboot:23.0.0'
66
    implementation 'androidx.navigation:navigation-ui:2.3.5'
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"
105
 
106
    // optional - Test helpers for LiveData
107
    testImplementation "androidx.arch.core:core-testing:$arch_version"
108
 
109
    def room_version = "2.3.0"
110
 
111
    implementation "androidx.room:room-runtime:$room_version"
112
    annotationProcessor "androidx.room:room-compiler:$room_version"
113
 
114
    // optional - RxJava2 support for Room
115
    implementation "androidx.room:room-rxjava2:$room_version"
116
 
117
    // optional - RxJava3 support for Room
118
    implementation "androidx.room:room-rxjava3:$room_version"
119
 
120
    // optional - Guava support for Room, including Optional and ListenableFuture
121
    implementation "androidx.room:room-guava:$room_version"
122
 
123
    // optional - Test helpers
124
    testImplementation "androidx.room:room-testing:$room_version"
125
 
126
    // optional - Paging 3 Integration
127
    implementation "androidx.room:room-paging:2.4.0-rc01"
128
 
3 gabriel 129
    // ViewPager animation
1 efrain 130
 
3 gabriel 131
    implementation 'com.wajahatkarim:easyflipviewpager:2.0.1'
1 efrain 132
 
133
 
4 gabriel 134
    def lottieVersion = "4.2.2"
135
    implementation "com.airbnb.android:lottie:$lottieVersion"
1 efrain 136
 
137
}