2019-09-18 15:29:09 -05:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
ext {
|
2021-02-17 07:42:08 -06:00
|
|
|
kotlin_version = '1.4.30'
|
2019-09-18 15:29:09 -05:00
|
|
|
|
|
|
|
release = [
|
2021-02-21 17:03:52 -06:00
|
|
|
versionName: "4.5",
|
|
|
|
versionCode: 4050099
|
2019-09-18 15:29:09 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
setup = [
|
2021-02-17 07:43:00 -06:00
|
|
|
compileSdk: 30,
|
2019-09-18 15:29:09 -05:00
|
|
|
buildTools: "28.0.3",
|
|
|
|
minSdk : 16,
|
2021-02-17 07:43:00 -06:00
|
|
|
targetSdk : 30
|
2019-09-18 15:29:09 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
versions = [
|
2021-02-17 07:42:08 -06:00
|
|
|
gradleAndroid : '4.2.0-beta04',
|
2020-03-24 10:29:45 -05:00
|
|
|
|
2020-02-22 07:48:49 -06:00
|
|
|
kotlin : ext.kotlin_version,
|
2021-02-17 07:42:08 -06:00
|
|
|
ktx : "1.3.2",
|
2019-09-18 15:29:09 -05:00
|
|
|
|
|
|
|
androidX : '1.0.0',
|
|
|
|
annotation : '1.1.0',
|
2021-02-17 07:42:08 -06:00
|
|
|
recyclerView : '1.2.0-beta01',
|
|
|
|
material : '1.3.0',
|
|
|
|
appcompat : '1.3.0-beta01',
|
|
|
|
constraintLayout : '2.1.0-alpha2',
|
2019-09-18 15:29:09 -05:00
|
|
|
cardview : '1.0.0',
|
|
|
|
gridLayout : '1.0.0',
|
|
|
|
navigation : "2.0.0",
|
|
|
|
navigationFragment: "1.0.0",
|
|
|
|
legacy : "1.0.0",
|
|
|
|
|
2021-02-17 07:42:08 -06:00
|
|
|
room : "2.2.6",
|
|
|
|
lifecycle : "2.3.0",
|
|
|
|
work : "2.5.0",
|
2019-09-18 15:29:09 -05:00
|
|
|
|
2021-02-17 07:42:08 -06:00
|
|
|
firebase : '18.0.2',
|
2020-03-24 10:29:45 -05:00
|
|
|
firebasemessaging: "20.1.3",
|
2019-09-18 15:29:09 -05:00
|
|
|
play_services : "17.0.0",
|
|
|
|
|
|
|
|
materialdialogs : "0.9.6.0",
|
2020-03-24 10:29:45 -05:00
|
|
|
materialdrawer : "817e45765c367034b03046aaea6e95eeabcb40e9",
|
2019-12-02 15:10:36 -06:00
|
|
|
iconics : "4.0.1",
|
2019-09-18 15:29:09 -05:00
|
|
|
font_cmd : "3.5.95.1-kotlin",
|
|
|
|
|
2020-03-26 12:48:54 -05:00
|
|
|
navlib : "28cdab341470dffa5f331379fe9702482681d7de",
|
2019-09-18 15:29:09 -05:00
|
|
|
|
2019-12-09 09:35:37 -06:00
|
|
|
gifdrawable : "1.2.15",
|
|
|
|
|
2020-03-24 10:29:45 -05:00
|
|
|
retrofit : "2.6.4"
|
2019-09-18 15:29:09 -05:00
|
|
|
]
|
2020-09-17 10:30:28 -05:00
|
|
|
versions.kotlin = '1.4.0'
|
|
|
|
versions.kotlin = '1.4.0'
|
2019-09-18 15:29:09 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2020-03-24 10:29:45 -05:00
|
|
|
classpath "com.android.tools.build:gradle:${versions.gradleAndroid}"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
|
2019-09-18 15:29:09 -05:00
|
|
|
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
|
2021-02-17 07:42:08 -06:00
|
|
|
classpath 'com.google.gms:google-services:4.3.5'
|
|
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.0'
|
2019-09-18 15:29:09 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
gradle.projectsEvaluated {
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.compilerArgs << "-Xmaxerrs" << "1000"
|
|
|
|
options.compilerArgs << "-Xmaxwarns" << "1000"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
maven { url "https://kotlin.bintray.com/kotlinx/" }
|
2019-11-01 15:31:26 -05:00
|
|
|
maven { url "https://dl.bintray.com/wulkanowy/wulkanowy" }
|
2020-04-07 05:16:48 -05:00
|
|
|
maven { url "https://dl.bintray.com/undervoid/PowerPermission" }
|
2019-09-18 15:29:09 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|