forked from enviroCar/enviroCar-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
123 lines (101 loc) · 4.21 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
buildscript {
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://plugins.gradle.org/m2/" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.12.1"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
plugins {
id "com.github.hierynomus.license" version "0.15.0"
id "com.github.dcendents.android-maven" version "2.1"
}
allprojects {
apply plugin: "license"
license {
header rootProject.file('LICENSE_HEADER')
strictCheck true
include "**/*.java"
include "**/*.xml"
include "**/*.html"
exclude "**/MoreObjects.java"
exclude "**/Preconditions.java"
}
repositories {
mavenLocal()
maven { url "https://jitpack.io" }
mavenCentral()
jcenter()
google()
}
}
ext {
androidPlugin = 'com.android.tools.build:gradle:3.1.2'
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
buildToolsVersion = '29.0.2'
versionCode = 49
versionName = "1.1.9"
javaCompileVersion = JavaVersion.VERSION_1_8
// Android dependencies.
supportV4 = 'androidx.legacy:legacy-support-v4:1.0.0'
supportV7 = 'androidx.appcompat:appcompat:1.1.0'
supportDesign = 'com.google.android.material:material:1.1.0'
supportCardview = 'androidx.cardview:cardview:1.0.0'
supportRecyclerview = 'androidx.recyclerview:recyclerview:1.0.0'
supportConstraintLayout = 'androidx.constraintlayout:constraintlayout:1.1.3'
androidxPreference = 'androidx.preference:preference:1.1.0'
def lifecycle_version = "2.0.0"
supportLifecycleExtension = "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
supportLifecycleRuntime = "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
supportLifecycleCompiler = "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
// database dependencies
def sqlite_version = "2.0.1"
supportSqlite = "androidx.sqlite:sqlite:$sqlite_version"
supportSqliteFramework = "androidx.sqlite:sqlite-framework:$sqlite_version"
sqlBrite = 'com.squareup.sqlbrite3:sqlbrite:3.2.0'
// Dependency injection, view injection, event bus...
dagger = 'com.google.dagger:dagger:2.22.1'
daggerCompiler = 'com.google.dagger:dagger-compiler:2.22.1'
butterKnife = 'com.jakewharton:butterknife:10.1.0'
butterknifeCompiler = 'com.jakewharton:butterknife-compiler:10.1.0'
otto = 'com.squareup:otto:1.3.8'
// Retrofit2 dependencies.
def retrofit_version = "2.6.1"
retrofit2 = "com.squareup.retrofit2:retrofit:$retrofit_version"
retrofitGson2 = "com.squareup.retrofit2:converter-gson:$retrofit_version"
retrofitAdapters2 = "com.squareup.retrofit2:retrofit-adapters:$retrofit_version"
retrofitRxJava2 = "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"
// RxJava dependencies.
rxJava = 'io.reactivex.rxjava2:rxjava:2.2.0'
rxAndroid = 'io.reactivex.rxjava2:rxandroid:2.1.1'
rxPreferences = 'com.f2prateek.rx.preferences2:rx-preferences:2.0.0'
// RxBindings
def rxbinding_version = "3.0.0"
rxBindingCore = "com.jakewharton.rxbinding3:rxbinding-core:$rxbinding_version"
rxBindingAppCompat = "com.jakewharton.rxbinding3:rxbinding-appcompat:$rxbinding_version"
// Google dependencies
gson = 'com.google.code.gson:gson:2.8.5'
//guava = 'com.google.guava:guava:18.0'
findBugs = 'com.google.code.findbugs:jsr305:3.0.2'
playServicesLocation = 'com.google.android.gms:play-services-location:17.0.0'
//acra
acra = 'ch.acra:acra-core:5.1.3'
// other third party dependencies.
materialDialogs = 'com.afollestad.material-dialogs:core:0.9.6.0'
helloCharts = 'com.github.lecho:hellocharts-library:1.5.8@aar'
fabProgressCircle = 'com.github.jorgecastilloprz:fabprogresscircle:1.01'
mapbox = 'com.mapbox.mapboxsdk:mapbox-android-sdk:8.1.0'
segmentedUIController = 'info.hoang8f:android-segmented:1.0.6'
apacheCommons = 'org.apache.commons:commons-compress:1.18'
// Testing
junit = 'junit:junit:4.12'
}