Project

General

Profile

Download (4.83 KB) Statistics
| Branch: | Tag: | Revision:

android / app / build.gradle @ 9c6d780d

1
apply plugin: 'com.android.application'
2
//apply plugin: 'android-apt'
3
//apply plugin: 'me.tatarka.retrolambda'
4

    
5

    
6
android {
7
    dataBinding {
8
        enabled = true
9
    }
10
    flavorDimensions "default"
11
    signingConfigs {
12
        config {
13
            keyAlias 'gitsdroid'
14
            keyPassword 'gitsgits'
15
            storeFile file('gitsdroid')
16
            storePassword 'gitsgits'
17
        }
18
    }
19
    compileSdkVersion 27
20
    buildToolsVersion '28.0.3'
21
    defaultConfig {
22
        applicationId "com.bappenas.slrt"
23
        minSdkVersion 15
24
        targetSdkVersion 27
25
        versionCode 85
26
        versionName 'v2-2.0.00'
27
        multiDexEnabled true
28
    }
29

    
30
    buildTypes {
31
        release {
32
            minifyEnabled false
33
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
34
            signingConfig signingConfigs.config
35
        }
36
        debug {
37
            debuggable true
38
            minifyEnabled false
39
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
40
//            signingConfig signingConfigs.config
41
        }
42
    }
43
    lintOptions {
44
        checkReleaseBuilds false
45
    }
46

    
47
    compileOptions {
48
        targetCompatibility JavaVersion.VERSION_1_8
49
        sourceCompatibility JavaVersion.VERSION_1_8
50
    }
51
    productFlavors {
52
//        prod {
53
//            versionName "v2-prod-1"
54
//            resValue "string", "app_name", "SLRT"
55
//        }
56
        v2dev {
57
            applicationIdSuffix ".v2dev"
58
            versionName "v2dev-1.0.23"
59
            resValue "string", "app_name", "SLRT V2-DEV"
60
        }
61
        v2 {
62
            applicationIdSuffix ".v2"
63
            versionName 'v2-1.0.23'
64
            resValue "string", "app_name", "SLRT V2"
65
        }
66
    }
67
}
68

    
69
dependencies {
70
    implementation 'io.github.inflationx:viewpump:1.0.0'
71
    implementation 'com.android.support:multidex:1.0.3'
72
    //    compile 'com.android.support:appcompat-v7:22.2.0'
73
    //    compile 'com.android.support:compat-v7:26.1.0'
74
    //    compile 'com.android.support:compat:26.1.0'
75
    implementation 'com.android.support:percent:27.1.1'
76
    implementation fileTree(include: ['*.jar'], dir: 'libs')
77
    implementation 'com.android.support:cardview-v7:27.1.1'
78
    implementation 'com.android.support:recyclerview-v7:27.1.1'
79
    implementation 'com.joanzapata.iconify:android-iconify:2.2.2'
80
    implementation 'com.android.support:design:27.1.1'
81
    implementation 'com.joanzapata.iconify:android-iconify-fontawesome:2.2.2'
82
    implementation 'com.jakewharton:butterknife:6.1.0'
83
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
84
    implementation 'com.android.support:support-v4:27.1.1'
85
    annotationProcessor 'com.jakewharton:butterknife:6.1.0'
86
    implementation 'org.greenrobot:eventbus:3.0.0'
87
    implementation 'com.google.code.gson:gson:2.8.2'
88
    implementation 'com.squareup.okhttp:okhttp:2.2.0'
89
    implementation 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'
90
    implementation 'com.github.satyan:sugar:1.5'
91
    //    compile 'com.google.android.gms:play-services-base:11.6.0'
92
    //    compile 'com.google.android.gms:play-services-gcm:11.6.0'
93
    implementation 'io.reactivex:rxandroid:1.2.1'
94
    implementation 'io.reactivex:rxjava:1.3.0'
95
    implementation 'com.squareup.retrofit2:retrofit:2.4.0'
96
    implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
97
    implementation 'com.squareup.retrofit2:adapter-rxjava:2.4.0'
98
    implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
99
    implementation 'com.google.firebase:firebase-core:16.0.4'
100
    implementation 'com.google.firebase:firebase-crash:16.2.1'
101
    implementation 'org.jsoup:jsoup:1.10.1'
102
    implementation 'com.google.android.gms:play-services-location:16.0.0'
103
    implementation 'com.github.hotchemi:permissionsdispatcher:2.0.7'
104
    annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.0.7'
105
    implementation project(path: ':webp-android-backport-library', configuration: 'default')
106
    implementation project(path: ':cropper', configuration: 'default')
107
    implementation 'com.github.chrisbanes:PhotoView:1.3.0'
108
    implementation 'com.squareup.picasso:picasso:2.5.2'
109
    implementation 'com.google.firebase:firebase-messaging:17.3.3'
110
    // Required -- JUnit 4 framework
111
    testImplementation 'junit:junit:4.12'
112
    // Optional -- Mockito framework
113
    testImplementation 'org.mockito:mockito-core:1.10.19'
114
    testImplementation 'org.hamcrest:hamcrest-library:1.3'
115
    implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
116
    implementation 'com.github.bmoliveira:snake-yaml:v1.18-android'
117
    implementation files('src/main/libs/cupv10k-runtime.jar')
118
    implementation files('src/main/libs/xercesImpl.jar')
119
    implementation files('src/main/libs/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar')
120
    implementation files('src/main/libs/xml-apis.jar')
121
}
122

    
123

    
124
apply plugin: 'com.google.gms.google-services'
125