-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathbuild.gradle
62 lines (58 loc) · 2.04 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
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Copyright (C) 2017 Mantas Varnagiris.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
buildscript {
ext.kotlin_version = '1.1.2-4'
ext.rxjava_version = '1.1.6'
ext.rxkotlin_version = '0.60.0'
ext.junit_version = '4.12'
ext.mockito_kotlin_version = '1.1.0'
ext.support_version = '25.3.1'
ext.rxbinding_version = '1.0.0'
ext.firebase_version = '10.2.6'
ext.hamkrest_version = '1.2.1.0'
ext.assertk_version = '0.1.1'
ext.build_tools_version = '25.0.2'
ext.compile_sdk_version = 25
ext.target_sdk_version = 25
ext.min_sdk_version = 21
ext.privateProperties = new Properties()
privateProperties.load(new FileInputStream("private.properties"))
repositories {
jcenter()
maven { url 'https://maven.google.com' }
maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-alpha2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:3.0.0'
}
file("private.properties").withReader { reader ->
def userProps = new Properties()
userProps.load(reader)
properties.putAll(userProps)
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
maven { url "https://jitpack.io" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}