-
Notifications
You must be signed in to change notification settings - Fork 670
/
Copy pathbuild.gradle
65 lines (60 loc) · 1.82 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
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
android {
signingConfigs {
mirror {
}
}
compileSdkVersion 22
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.morristaedt.mirror"
minSdkVersion 14
targetSdkVersion 22
versionCode 4
versionName "1.3"
}
buildTypes {
debug {
ext.enableCrashlytics = false
applicationIdSuffix '.debug'
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.mirror
}
}
}
repositories {
maven { url "https://jitpack.io" }
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.github.ahorn:android-rss:cf40b89'
compile 'com.google.android.gms:play-services-vision:8.1.0'
compile('com.crashlytics.sdk.android:crashlytics:2.5.2@aar') {
transitive = true;
}
}
def signingFile = rootProject.file('signing.properties')
if (signingFile.exists()) {
def props = new Properties()
props.load(new FileInputStream(signingFile))
android.signingConfigs.mirror.storeFile rootProject.file(props.keyStore)
android.signingConfigs.mirror.storePassword props.keyStorePassword
android.signingConfigs.mirror.keyAlias props.keyAlias
android.signingConfigs.mirror.keyPassword props.keyAliasPassword
}