Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
123 lines (90 loc) · 3.91 KB
/
Copy pathbuild.gradle
File metadata and controls
123 lines (90 loc) · 3.91 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.neenbedankt.gradle.plugins:android-apt:${rootProject.ext.androidAptVersion}"
classpath "com.jakewharton.hugo:hugo-plugin:${rootProject.ext.hugoVersion}"
}
}
apply plugin: 'com.android.library'
apply plugin: 'com.jakewharton.hugo'
apply plugin: 'android-apt'
apt {
arguments {
androidManifestFile variant.outputs[0].processResources.manifestFile
resourcePackageName 'com.richardradics.core'
}
}
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'LICENSE'
exclude 'LICENSE.txt'
}
sourceSets {
main { assets.srcDirs = ['src/main/assets'] }
}
}
apply from: "build.workaround-missing-resource.gradle"
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':commons')
compile "com.android.support:appcompat-v7:${rootProject.ext.appcompatVersion}"
compile "com.android.support:support-v4:${rootProject.ext.supportV4}"
compile "com.android.support:recyclerview-v7:${rootProject.ext.recyclerViewVersion}"
compile "com.android.support:cardview-v7:${rootProject.ext.cardViewVersion}"
compile "com.android.support:palette-v7:${rootProject.ext.paletteVersion}"
compile "com.android.support:support-v13:${rootProject.ext.supportV13}"
apt "org.androidannotations:androidannotations:${rootProject.ext.androidAnnotationsVersion}"
compile "org.androidannotations:androidannotations-api:${rootProject.ext.androidAnnotationsVersion}"
compile "com.squareup.picasso:picasso:${rootProject.ext.picassoVersion}"
compile "com.squareup.retrofit:retrofit:${rootProject.ext.retrofitVersion}"
compile "com.squareup.okhttp:okhttp-urlconnection:${rootProject.ext.okhttpUrlConnection}"
compile "com.squareup.okhttp:okhttp:${rootProject.ext.okhttpVersion}"
compile "com.github.traex.expandablelayout:library:${rootProject.ext.expandableLayout}"
compile "com.nispok:snackbar:${rootProject.ext.snackbar}"
compile "uk.co.chrisjenx:calligraphy:${rootProject.ext.calligraphy}"
compile "com.snappydb:snappydb-lib:${rootProject.ext.snappyDb}"
compile "com.esotericsoftware.kryo:kryo:${rootProject.ext.kryo}"
compile "javax.annotation:jsr250-api:${rootProject.ext.jsr250Version}"
compile "com.pnikosis:materialish-progress:${rootProject.ext.materialProgress}"
testCompile "junit:junit:${rootProject.ext.junitVer}"
testCompile ("org.mockito:mockito-core:${rootProject.ext.mockitoVer}"){
exclude group: 'org.objenesis'
}
testCompile ("com.squareup:fest-android:${rootProject.ext.festVer}"){
exclude group: 'com.android.support'
}
testCompile("org.robolectric:robolectric:${rootProject.ext.robolectricVer}") {
exclude group: 'commons-logging', module: 'commons-logging'
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}
testCompile 'com.squareup.okhttp:mockwebserver:2.3.0'
testCompile 'org.powermock:powermock-module-junit4-rule-agent:1.6.2'
}
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
repositories {
maven { url "https://jitpack.io" }
}
maven { url 'http://download.crashlytics.com/maven' }
}