55 lines
1.5 KiB
Groovy
55 lines
1.5 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.31'
|
|
ext.gradle_version = '3.4.0'
|
|
ext.fabric_version = '1.27.1'
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:$gradle_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath 'de.aaschmid:gradle-cpd-plugin:1.1'
|
|
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0-RC10"
|
|
classpath "io.fabric.tools:gradle:$fabric_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url "http://dl.bintray.com/touchin/touchin-tools" }
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|
|
ext {
|
|
buildScriptsDir = "$rootProject.projectDir/RoboSwag/BuildScripts"
|
|
versions = [
|
|
compileSdk : 28,
|
|
androidx : '1.0.0',
|
|
androidxKtx: '1.0.2',
|
|
appcompat : '1.0.2',
|
|
material : '1.0.0',
|
|
lifecycle : '2.0.0',
|
|
room : '2.0.0',
|
|
dagger : '2.17',
|
|
retrofit : '2.4.0',
|
|
okhttp3 : '3.14.1',
|
|
logansquare: '1.4.3',
|
|
rxJava : '2.2.3',
|
|
rxAndroid : '2.1.1',
|
|
crashlytics: '2.9.9',
|
|
glide : '4.9.0',
|
|
location : '16.0.0'
|
|
]
|
|
}
|