-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e11fc2
commit 431691e
Showing
5 changed files
with
98 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apply from: '../dependencies.gradle' | ||
|
||
ext.app_module_dependencies = { | ||
dependencies { | ||
implementation deps.kotlin | ||
implementation deps.androidx_appcompat | ||
implementation deps.core_ktx | ||
implementation deps.constraint_layout | ||
// Coroutine | ||
implementation deps.coroutine.core | ||
implementation deps.coroutine.android | ||
// Koin for Android | ||
implementation deps.koin.android | ||
implementation deps.koin.viewmodel | ||
implementation deps.koin.fragment | ||
implementation deps.koin.ext | ||
// Lifecycle components | ||
implementation deps.lifecycle_component.extension | ||
kapt deps.lifecycle_component.compiler | ||
// Viewmodel | ||
implementation deps.viewmodel | ||
// Recyclerview | ||
implementation deps.recyclerview | ||
// Glide | ||
implementation deps.glide | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
apply from: '../versions.gradle' | ||
|
||
ext.deps = [:] | ||
|
||
def deps = [:] | ||
|
||
deps.kotlin = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION" | ||
|
||
deps.androidx_appcompat = "androidx.appcompat:appcompat:$APP_COMPAT_VERSION" | ||
|
||
deps.core_ktx = "androidx.core:core-ktx:$KTX_VERSION" | ||
|
||
deps.constraint_layout = "androidx.constraintlayout:constraintlayout:$CONSTRAINT_LAYOUT_VERSION" | ||
|
||
def coroutine = [:] | ||
coroutine.core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$COROUTINE_VERSION" | ||
coroutine.android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$COROUTINE_VERSION" | ||
deps.coroutine = coroutine | ||
|
||
def koin = [:] | ||
koin.android = "org.koin:koin-android:$KOIN_VERSION" | ||
koin.viewmodel = "org.koin:koin-androidx-viewmodel:$KOIN_VERSION" | ||
koin.fragment = "org.koin:koin-androidx-fragment:$KOIN_VERSION" | ||
koin.ext = "org.koin:koin-androidx-ext:$KOIN_VERSION" | ||
deps.koin = koin | ||
|
||
deps.lottie = "com.airbnb.android:lottie:$LOTTIE_VERSION" | ||
|
||
def lifecycle_component = [:] | ||
lifecycle_component.extension = "android.arch.lifecycle:extensions:$LIFECYCLE_VERSION" | ||
lifecycle_component.compiler = "android.arch.lifecycle:compiler:$LIFECYCLE_VERSION" | ||
deps.lifecycle_component = lifecycle_component | ||
|
||
deps.viewmodel = "androidx.lifecycle:lifecycle-viewmodel-ktx:$VIEWMODEL_VERSION" | ||
|
||
deps.recyclerview = "androidx.recyclerview:recyclerview:$RECYCLER_VIEW_VERSION" | ||
|
||
deps.glide = "com.github.bumptech.glide:glide:$GLIDE_VERSION" | ||
|
||
ext.deps = deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ext { | ||
KOTLIN_VERSION = '1.3.72' | ||
|
||
APP_COMPAT_VERSION = '1.0.2' | ||
KTX_VERSION = '1.2.0' | ||
COROUTINE_VERSION = '1.3.5' | ||
CONSTRAINT_LAYOUT_VERSION = '1.1.3' | ||
KOIN_VERSION = '2.1.5' | ||
RETROFIT_VERSION = '2.6.0' | ||
GSON_VERSION = '2.8.5' | ||
LOTTIE_VERSION = '3.4.0' | ||
LIFECYCLE_VERSION = '1.1.1' | ||
VIEWMODEL_VERSION = '2.3.0-alpha01' | ||
RECYCLER_VIEW_VERSION = '1.1.0' | ||
GLIDE_VERSION = '4.8.0' | ||
|
||
JUNIT_VERSION = '4.12' | ||
JUNIT_EXTENSION_VERSION = '1.1.1' | ||
} |