-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
33 lines (28 loc) · 1.01 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'buildConf/app.gradle' //Android Default Config
apply from: 'buildConf/dependencies.gradle' //cons => no warning when there is a new version, Pro => better organisation
apply from: 'buildConf/api.gradle'
//buildScript is evaluated first, all versionNumber needed in it and later in dependencies must be initialized here using ext.dependencyVersionName
buildscript {
ext.kotlin= '1.3.0'
ext.navigation = "1.0.0-alpha07"
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin}"
classpath "android.arch.navigation:navigation-safe-args-gradle-plugin:${navigation}"
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}