-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
66 lines (55 loc) · 2.45 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
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.evrencoskun.tableviewsample2"
minSdkVersion 15
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation "androidx.appcompat:appcompat:$support_version"
implementation "androidx.legacy:legacy-support-v4:$legacy_support_version"
implementation "com.google.android.material:material:$legacy_support_version"
// Lifecycle
implementation "androidx.lifecycle:lifecycle-runtime:$room_version"
implementation "androidx.lifecycle:lifecycle-extensions:$room_version"
annotationProcessor "androidx.lifecycle:lifecycle-compiler:$room_version"
// Room
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// Retrofit2
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"
// RxJava
implementation "io.reactivex.rxjava2:rxjava:$rxjava_version"
implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"
// Gson
implementation "com.google.code.gson:gson:$gson_version"
// TableView
implementation "com.evrencoskun.library:tableview:$tableview_version"
// MoneyView
implementation "org.fabiomsr:moneytextview:$moneyview_version"
// Instrumentation dependencies use androidTestCompile"
// (as opposed to testCompile for local unit tests run in the JVM"
androidTestImplementation "junit:junit:$junit_version"
androidTestImplementation "androidx.annotation:annotation:$support_test_version"
androidTestImplementation "androidx.test:runner:$support_test_runner_version"
androidTestImplementation "androidx.test:rules:$support_test_runner_version"
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_test_version"
}