· 6 years ago · Jan 17, 2020, 12:26 PM
1buildscript {
2 ext.kotlin_version = "1.3.21"
3
4 repositories {
5 jcenter()
6 mavenCentral()
7 // mavenLocal() // Only if you want to use your local maven repo
8 maven { url 'https://maven.fabric.io/public' }
9 google()
10 }
11
12 dependencies {
13 // classpath 'com.android.tools.build:gradle:+'
14 classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
15 classpath 'com.android.tools.build:gradle:3.5.3'
16 classpath 'io.fabric.tools:gradle:1.29.0'
17 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
18
19
20 }
21}
22
23apply plugin: 'com.android.application'
24apply plugin: 'kotlin-android'
25apply plugin: 'kotlin-kapt'
26apply plugin: 'kotlin-android-extensions'
27apply plugin: 'realm-android'
28apply plugin: 'io.fabric'
29apply plugin: 'com.google.gms.google-services'
30
31repositories {
32 maven { url 'https://maven.fabric.io/public' }
33 maven { url 'https://dl.bintray.com/yandex-money/maven' }
34}
35
36android {
37
38
39 signingConfigs {
40 key {
41 storeFile file(kotlin_version)
42 storePassword kotlin_version
43 keyAlias = kotlin_version
44 keyPassword kotlin_version
45 }
46 }
47 compileSdkVersion 29
48 buildToolsVersion '28.0.3'
49 defaultConfig {
50 applicationId "ru.ufanet.myufanet"
51 minSdkVersion 19
52 targetSdkVersion 29
53 versionCode 120
54 versionName "1.28"
55 vectorDrawables.useSupportLibrary = true
56 multiDexEnabled true
57 ndk {
58 abiFilters "armeabi-v7a", "x86_64", "armeabi", "mips"
59 }
60 }
61 buildTypes {
62 release {
63 minifyEnabled false
64 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
65 }
66 debug {
67 minifyEnabled false
68 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
69 debuggable true
70 }
71 }
72
73 compileOptions {
74 sourceCompatibility JavaVersion.VERSION_1_8
75 targetCompatibility JavaVersion.VERSION_1_8
76 }
77
78 lintOptions {
79 checkReleaseBuilds false
80 // Or, if you prefer, you can continue to check for errors in release builds,
81 // but continue the build even when errors are found:
82 abortOnError false
83 }
84
85 packagingOptions {
86 exclude 'META-INF/DEPENDENCIES.txt'
87 exclude 'META-INF/LICENSE.txt'
88 exclude 'META-INF/NOTICE.txt'
89 exclude 'META-INF/NOTICE'
90 exclude 'META-INF/LICENSE'
91 exclude 'META-INF/DEPENDENCIES'
92 exclude 'META-INF/notice.txt'
93 exclude 'META-INF/license.txt'
94 exclude 'META-INF/dependencies.txt'
95 exclude 'META-INF/LGPL2.1'
96 }
97
98 androidExtensions {
99 experimental = true
100 }
101
102// kapt { generateStubs = true }
103
104}
105
106dependencies {
107
108 implementation "org.jetbrains.kotlin:kotlin-stdlib:1.3.21"
109 api fileTree(include: ['*.jar'], dir: 'libs')
110 implementation project(':linphone')
111 implementation project(':chatkit')
112
113 implementation 'com.google.android:flexbox:1.0.0'
114
115 implementation 'com.github.bumptech.glide:glide:3.6.1'
116 implementation 'com.squareup.mimecraft:mimecraft:1.1.1'
117 //noinspection GradleCompatible
118 implementation 'org.jsoup:jsoup:1.8.3'
119 implementation project(':pflockscreen')
120 //implementation 'com.kevalpatel2106:passcodeview:2.0.0'
121 implementation 'commons-codec:commons-codec:1.3'
122 implementation 'com.google.firebase:firebase-messaging:17.1.0'
123 implementation 'com.google.firebase:firebase-core:16.0.1'
124 testImplementation 'junit:junit:4.12'
125 // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
126 implementation 'androidx.cardview:cardview:1.0.0'
127 implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
128 implementation 'com.google.android.material:material:1.0.0'
129 implementation 'androidx.recyclerview:recyclerview:1.0.0'
130 // implementation 'com.jakewharton:butterknife:8.8.1'
131 //kapt 'com.jakewharton:butterknife-compiler:8.8.1'
132 implementation 'com.github.jorgecastilloprz:fabprogresscircle:1.01@aar'
133 implementation 'com.github.santalu:mask-edittext:1.0.5'
134 implementation 'com.github.GrenderG:Toasty:1.3.0'
135 implementation 'com.google.code.gson:gson:2.8.5'
136 implementation 'com.squareup.picasso:picasso:2.71828'
137 implementation 'joda-time:joda-time:2.10'
138 implementation 'androidx.vectordrawable:vectordrawable:1.0.0'
139 //pay
140 implementation 'com.google.android.gms:play-services-wallet:16.0.0'
141 implementation 'androidx.legacy:legacy-support-v4:1.0.0'
142 apply plugin: 'realm-android'
143 implementation 'io.realm:android-adapters:2.1.1'
144 implementation 'com.squareup.okhttp3:okhttp:3.11.0'
145 implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.10.0'
146 implementation 'org.greenrobot:eventbus:3.0.0'
147 implementation 'pub.devrel:easypermissions:1.2.0'
148 // implementation 'com.rabtman.wsmanager:wsmanager:1.0.2'
149 implementation project(':wsmanager')
150 //украшалки
151// implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
152 // implementation 'com.timqi.sectorprogressview:library:2.0.1'
153 implementation project(':ring_view')
154 implementation project(':view_pager_dots_indicator')
155 implementation 'com.github.d-max:spots-dialog:1.0@aar'
156 implementation('com.crashlytics.sdk.android:crashlytics:2.9.4@aar') {
157 transitive = true
158 }
159 implementation 'com.nineoldandroids:library:2.4.0'
160 implementation 'jp.wasabeef:picasso-transformations:2.2.1'
161 // implementation project(':banner_slider')
162 implementation project(path: ':banner_slider')
163 implementation 'com.irozon.sneaker:sneaker:1.0.3'
164 implementation 'androidx.appcompat:appcompat:1.0.0'
165 implementation 'androidx.multidex:multidex:2.0.0'
166
167 implementation project(':loaderviewlibrary')
168
169 //RxJava2
170 implementation "io.reactivex.rxjava2:rxjava:2.2.7"
171 implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
172 implementation 'com.jakewharton.rxbinding:rxbinding:0.4.0'
173 implementation 'com.jakewharton.rxbinding:rxbinding-support-v4:0.4.0'
174 implementation 'com.jakewharton.rxbinding:rxbinding-appcompat-v7:0.4.0'
175
176 //Retrofit
177 implementation 'com.google.code.gson:gson:2.8.5'
178 implementation 'com.squareup.retrofit2:converter-jackson:2.0.2'
179 implementation 'com.squareup.okhttp3:logging-interceptor:3.9.0'
180 implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
181
182
183 implementation 'com.squareup.retrofit2:retrofit:2.0.2'
184 implementation 'com.squareup.retrofit2:converter-gson:2.0.2'
185 implementation 'com.squareup.retrofit2:adapter-rxjava:2.0.2'
186
187 //я касса
188 implementation 'com.yandex.money:checkout:3.0.1'
189
190 implementation project(':awesome-calendar')
191
192 //Dagger
193 implementation 'com.google.dagger:dagger:2.7'
194 kapt 'com.google.dagger:dagger-compiler:2.7'
195
196
197}
198
199apply plugin: 'com.google.gms.google-services'