-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
49 lines (41 loc) · 1.26 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
def versionMajor = 1
def versionMinor = 1
ext {
buildToolsVersion = "26.0.1"
compileSdkVersion = 26
targetSdkVersion = 26
minSdkVersion = 21
versionCode = versionMajor * 100 + versionMinor
versionName = "$versionMajor.$versionMinor"
keystoreProperties = new Properties()
archLibVersion = '1.0.0-beta1'
firebaseVersion = '11.4.0'
retrofitVersion = '2.3.0'
supportLibVersion = '26.1.0'
manifestPlaceholders = ['host': 'devfest.gdgnantes.com']
signingStoreFileDebug = file('./distribution/signing/debug.keystore')
signingStoreFileRelease = file('./distribution/signing/release.keystore')
}
keystoreProperties.load(new FileInputStream(rootProject.file("keystore.properties")))
buildscript {
ext.kotlinVersion = '1.1.3-2'
repositories {
maven { url 'https://maven.google.com' }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta6'
classpath 'com.google.gms:google-services:3.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}