mirror of
https://github.com/melihaksoy/Android-Kotlin-Modulerized-CleanArchitecture.git
synced 2026-01-17 06:27:05 +01:00
* Fixed wrong package name. Fixes #43 * Updated package name. Fixes #41 * Ignoring not-used warning - this graph is included in main graph * Separated repository from core. Fixes #42 * Removing adapter from recyclerView when view is destroyed to prevent leak. Fixes #40 * Updated new module graph Signed-off-by: Melih Aksoy <aksoy.melihcan@gmail.com>
44 lines
1.2 KiB
Groovy
44 lines
1.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
apply from: "$rootProject.projectDir/scripts/default_android_config.gradle"
|
|
apply from: "$rootProject.projectDir/scripts/sources.gradle"
|
|
|
|
android {
|
|
defaultConfig {
|
|
applicationId "com.melih.rocketscience"
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation project(':core')
|
|
implementation project(':features:launches')
|
|
implementation project(':features:detail')
|
|
|
|
implementation libraries.navigation
|
|
|
|
debugImplementation libraries.leakCanary
|
|
|
|
androidTestImplementation testLibraries.espresso
|
|
|
|
// These libraries required by dagger to create dependency graph, but not by app
|
|
compileOnly project(':repository')
|
|
compileOnly libraries.retrofit
|
|
compileOnly libraries.room
|
|
compileOnly libraries.paging
|
|
compileOnly libraries.swipeRefreshLayout
|
|
|
|
// Need for proper renders in xml previews
|
|
compileOnly libraries.constraintLayout
|
|
}
|