forked from fossasia/pslab-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
100 lines (91 loc) · 5.24 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
95
96
97
98
99
100
apply plugin: 'com.android.application'
apply plugin: 'realm-android'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
applicationId "io.pslab"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 10
versionName "2.0.9"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
versionNameSuffix "Version: "
resValue "string", "version", "${versionNameSuffix}${defaultConfig.versionName}"
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "version", "${defaultConfig.versionName}"
}
}
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
// Android stock libraries
implementation "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:cardview-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:recyclerview-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:design:$rootProject.supportLibraryVersion"
implementation "com.android.support:support-v13:$rootProject.supportLibraryVersion"
implementation "com.android.support:support-v4:$rootProject.supportLibraryVersion"
implementation "com.android.support:preference-v14:$rootProject.supportLibraryVersion"
implementation "com.android.support:customtabs:$rootProject.supportLibraryVersion"
implementation "com.android.support.constraint:constraint-layout:$rootProject.constraintLayoutVersion"
// Custom tools libraries
implementation "com.github.PhilJay:MPAndroidChart:$rootProject.mpAndroidChartVersion"
implementation "com.github.bmelnychuk:atv:$rootProject.atvVersion"
implementation "de.hdodenhof:circleimageview:$rootProject.circleImageViewVersion"
implementation "com.github.devlight.navigationtabstrip:navigationtabstrip:$rootProject.navTabStripVersion"
implementation "com.afollestad.material-dialogs:core:$rootProject.materialDialogsVersion"
implementation "com.github.medyo:android-about-page:$rootProject.androidAboutPageVersion"
implementation "com.github.tiagohm.MarkdownView:library:$rootProject.markDownViewVersion"
implementation "com.github.mirrajabi:search-dialog:$rootProject.searchDialogVersion"
implementation "com.sdsmdg.harjot:croller:$rootProject.crollerVersion"
implementation "com.github.BeppiMenozzi:Knob:$rootProject.knobLibraryVersion"
implementation "com.github.warkiz.widget:indicatorseekbar:$rootProject.seekBarLibraryVersion"
implementation "com.github.Vatican-Cameos:CarouselPicker:$rootProject.carouselPickerVersion"
implementation "com.github.anastr:speedviewlib:$rootProject.speedView"
implementation "org.apache.commons:commons-math3:$rootProject.commonMathVersion"
implementation "org.apache.commons:commons-lang3:$rootProject.commonLangVersion"
implementation "com.squareup.picasso:picasso:$rootProject.picassoVersion"
implementation "com.jakewharton:butterknife:$rootProject.butterKnifeVersion"
annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.butterKnifeVersion"
// Map libraries
implementation "org.osmdroid:osmdroid-android:$rootProject.osmVersion"
implementation "org.osmdroid:osmdroid-mapsforge:$rootProject.mapsforgeVersion"
implementation "org.osmdroid:osmdroid-geopackage:$rootProject.geoPackageVersion"
implementation "com.android.support:multidex:$rootProject.multiDexVersion"
implementation "io.realm:android-adapters:$rootProject.realmAdapter"
testImplementation "junit:junit:$rootProject.junitVersion"
androidTestImplementation("com.android.support.test:runner:$rootProject.testRunnerRulesVersion") {
exclude group: 'com.android.support', module: 'support-annotations'
}
androidTestImplementation("com.android.support.test:rules:$rootProject.testRunnerRulesVersion") {
exclude group: 'com.android.support', module: 'support-annotations'
}
androidTestImplementation("com.android.support.test.espresso:espresso-core:$rootProject.espressoVersion") {
exclude group: 'com.android.support', module: 'support-annotations'
}
androidTestImplementation("com.android.support.test.espresso:espresso-intents:$rootProject.espressoVersion") {
exclude group: 'com.android.support', module: 'support-annotations'
}
androidTestImplementation("com.android.support.test.espresso:espresso-contrib:$rootProject.espressoVersion") {
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'design'
}
}