forked from mvarnagiris/expensius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (48 loc) · 1.6 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
/*
* Copyright (C) 2016 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.0.3'
ext.rxjava_version = '1.1.6'
ext.rxkotlin_version = '0.60.0'
ext.junit_version = '4.12'
ext.support_version = '24.2.0'
ext.rxbinding_version = '0.4.0'
ext.firebase_version = '9.2.1'
ext.hamkrest_version = '1.2.1.0'
ext.privateProperties = new Properties()
privateProperties.load(new FileInputStream("private.properties"))
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
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://jitpack.io" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}