forked from fidloo/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
109 lines (90 loc) · 3.36 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
import com.fidloo.flux.buildsrc.Versions
import com.fidloo.flux.buildsrc.Libs
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
}
android {
compileSdkVersion Versions.CompileSdkVersion
defaultConfig {
applicationId "com.fidloo.flux"
minSdkVersion Versions.MinSdkVersion
targetSdkVersion Versions.TargetSdkVersion
versionCode Versions.VersionCode
versionName Versions.VersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
debug {
storeFile rootProject.file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
kotlinOptions {
jvmTarget = "1.8"
}
packagingOptions {
// Multiple dependency bring these files in. Exclude them to enable
// our test APK to build (has no effect on our AARs)
excludes += "/META-INF/AL2.0"
excludes += "/META-INF/LGPL2.1"
}
}
dependencies {
implementation project(':presentation')
implementation project(':domain')
implementation project(':data')
implementation project(':common')
implementation Libs.Kotlin.stdlib
implementation Libs.Coroutines.android
implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.navigation
implementation Libs.AndroidX.Activity.activityCompose
implementation Libs.AndroidX.ConstraintLayout.constraintLayoutCompose
implementation Libs.AndroidX.Compose.runtime
implementation Libs.AndroidX.Compose.foundation
implementation Libs.AndroidX.Compose.layout
implementation Libs.AndroidX.Compose.ui
implementation Libs.AndroidX.Compose.uiUtil
implementation Libs.AndroidX.Compose.material
implementation Libs.AndroidX.Compose.animation
implementation Libs.AndroidX.Compose.iconsExtended
implementation Libs.AndroidX.Compose.tooling
implementation Libs.AndroidX.Compose.hilt
implementation Libs.AndroidX.lifecycle
implementation Libs.AndroidX.appcompat
implementation Libs.material
implementation Libs.Accompanist.coil
implementation Libs.Accompanist.insets
androidTestImplementation Libs.AndroidX.Activity.activityCompose
implementation Libs.Hilt.library
kapt Libs.Hilt.compiler
androidTestImplementation Libs.JUnit.junit
androidTestImplementation Libs.AndroidX.Test.core
androidTestImplementation Libs.AndroidX.Test.espressoCore
androidTestImplementation Libs.AndroidX.Test.rules
androidTestImplementation Libs.AndroidX.Test.Ext.junit
androidTestImplementation Libs.AndroidX.Compose.uiTest
androidTestImplementation Libs.AndroidX.Test.runner
androidTestImplementation Libs.Coroutines.test
androidTestImplementation Libs.Hilt.library
androidTestImplementation Libs.Hilt.testing
}