Proyectos de Subversion LeadersLinked - Android

Rev

Rev 5 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3 efrain 1
plugins {
2
    id 'com.android.application'
3
    id 'com.google.gms.google-services'
4
}
1 efrain 5
 
6
android {
3 efrain 7
    compileSdk 36
1 efrain 8
 
9
    defaultConfig {
5 efrain 10
        targetSdk 36
3 efrain 11
        applicationId "com.cesams.leaderslinked.v2"
1 efrain 12
        minSdkVersion 21
10 efrain 13
        versionCode 25
14
        versionName '1.1.16'
1 efrain 15
 
16
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17
    }
18
 
10 efrain 19
    // Configuración de Product Flavors para diferentes entornos
20
    flavorDimensions "version"
21
    productFlavors {
22
        demo {
23
            dimension "version"
24
            applicationId "com.leaderslinked.demo"
25
            versionNameSuffix "-demo"
26
            resValue "string", "app_name", "LeadersLinked Demo"
27
            buildConfigField "String", "BASE_URL", "\"https://demo.leaderslinked.com\""
28
        }
29
 
30
        staging {
31
            dimension "version"
32
            applicationId "com.cesams.leaderslinked.v2.staging"
33
            versionNameSuffix "-staging"
34
            resValue "string", "app_name", "LeadersLinked Staging"
35
            buildConfigField "String", "BASE_URL", "\"https://stanging.leaderslinked.com\""
36
        }
37
 
38
        v2 {
39
            dimension "version"
40
            applicationId "com.cesams.leaderslinked.v2"
41
            versionNameSuffix "-v2"
42
            resValue "string", "app_name", "LeadersLinked V2"
43
            buildConfigField "String", "BASE_URL", "\"https://v2.leaderslinked.com\""
44
        }
45
    }
46
 
1 efrain 47
    buildTypes {
48
        release {
49
            minifyEnabled false
50
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
51
        }
52
    }
3 efrain 53
    buildFeatures {
54
        buildConfig true
55
    }
56
    compileOptions {
57
        sourceCompatibility JavaVersion.VERSION_17
58
        targetCompatibility JavaVersion.VERSION_17
59
    }
60
    namespace 'com.cesams.leaderslinked.v2'
1 efrain 61
 
62
}
63
 
64
dependencies {
65
    implementation fileTree(dir: 'libs', include: ['*.jar'])
66
 
67
    implementation 'androidx.appcompat:appcompat:1.6.1'
68
    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
69
    // Add the Firebase SDK for Google Analytics
70
    implementation 'com.google.firebase:firebase-analytics:21.3.0'
71
 
72
    // Add the SDK for Firebase Cloud Messaging
73
    implementation 'com.google.firebase:firebase-messaging:23.2.1'
74
 
2 efrain 75
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
76
 
1 efrain 77
    testImplementation 'junit:junit:4.12'
78
    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
79
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
80
}
81