forked from petrnohejl/alfonz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (62 loc) · 2.63 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
apply plugin: "com.android.application"
apply from: "../utils.gradle"
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "org.alfonz.samples"
minSdkVersion 16
targetSdkVersion 29
versionCode getVersionCode(majorVersion, minorVersion, patchVersion, buildVersion)
versionName getVersionName(majorVersion, minorVersion, patchVersion)
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
buildConfigField "boolean", "LOGS", "true"
buildConfigField "boolean", "DEV_ENVIRONMENT", "true"
versionNameSuffix "-debug"
}
release {
buildConfigField "boolean", "LOGS", "false"
buildConfigField "boolean", "DEV_ENVIRONMENT", "false"
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
dataBinding {
enabled = true
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation project(":alfonz-adapter")
implementation project(":alfonz-arch")
implementation project(":alfonz-graphics")
implementation project(":alfonz-media")
implementation project(":alfonz-rest")
implementation project(":alfonz-rx")
implementation project(":alfonz-utility")
implementation project(":alfonz-view")
implementation "androidx.annotation:annotation:$androidxAnnotationVersion"
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
implementation "androidx.fragment:fragment:$androidxFragmentVersion"
implementation "androidx.lifecycle:lifecycle-extensions:$androidxLifecycleVersion"
implementation "androidx.lifecycle:lifecycle-runtime:$androidxLifecycleVersion"
implementation "androidx.recyclerview:recyclerview:$androidxRecyclerViewVersion"
implementation "androidx.viewpager:viewpager:$androidxViewPagerVersion"
implementation "com.google.android.material:material:$materialVersion"
implementation "com.google.code.gson:gson:$gsonVersion"
implementation "com.squareup.okhttp3:logging-interceptor:$okHttpVersion"
implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
}