forked from HabitatMap/AirCastingAndroidClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
94 lines (82 loc) · 3.32 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
buildscript {
repositories {
google()
jcenter()
mavenCentral()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
}
}
apply plugin: 'maven'
apply plugin: 'com.android.application'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven { url "http://acra.googlecode.com/svn/repository/releases/" }
maven { url "https://maven.google.com" }
maven { url "http://repo.maven.apache.org/maven2" }
maven { url 'https://jitpack.io' }
}
android {
compileSdkVersion 28
defaultConfig {
applicationId 'pl.llp.aircasting'
minSdkVersion 21
targetSdkVersion 28
versionCode 109
versionName "1.5.22"
// Read the API key from ./secure.properties into R.string.maps_api_key
def secureProps = new Properties()
if (file("./secure.properties").exists()) {
file("./secure.properties")?.withInputStream { secureProps.load(it) }
}
resValue "string", "maps_api_key", (secureProps.getProperty("MAPS_API_KEY") ?: "")
}
buildTypes {
debug {
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
res.srcDirs = ['res']
}
debug {
manifest.srcFile 'AndroidManifest.xml'
res.srcDirs = ['res']
}
}
}
}
}
dependencies {
def supportVersion = "28.0.0"
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "com.android.support:support-v4:$supportVersion"
implementation "com.android.support:support-media-compat:28.0.0"
implementation group: 'com.google.code.gson', name: 'gson', version:'2.2.3'
implementation group: 'com.google.inject', name: 'guice', version:'2.0-no_aop'
implementation group: 'net.sourceforge.javacsv', name: 'javacsv', version:'2.0'
implementation group: 'org.roboguice', name: 'roboguice', version:'1.1.3'
implementation group: 'com.google.guava', name: 'guava', version:'14.0.1'
implementation group: 'commons-codec', name: 'commons-codec', version: '1.5'
implementation group: 'cz.msebera.android' , name: 'httpclient' , version: '4.4.1.2'
implementation group: 'com.intellij', name: 'annotations', version:'9.0.4'
implementation group: 'com.google.android.gms', name: 'play-services-location', version:'11.6.0'
implementation "com.google.android.libraries.places:places:1.1.0"
implementation "com.android.support:cardview-v7:$supportVersion"
implementation "com.android.support:recyclerview-v7:$supportVersion"
implementation "com.android.support:design:$supportVersion"
implementation "android.arch.lifecycle:extensions:1.1.1"
testImplementation group: 'junit', name: 'junit', version:'4.10'
testImplementation group: 'com.pivotallabs', name: 'robolectric', version:'1.0'
testImplementation group: 'org.mockito', name: 'mockito-all', version:'1.9.5'
testImplementation group: 'org.easytesting', name: 'fest-assert', version:'1.4'
implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
implementation files('libs/maps-7_r1.jar')
implementation files('libs/MPAndroidChart-v3.0.2.jar')
}