mirror of
https://github.com/melihaksoy/Android-Kotlin-Modulerized-CleanArchitecture.git
synced 2026-01-16 05:56:52 +01:00
49 lines
1.4 KiB
Groovy
49 lines
1.4 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/default_dependencies.gradle"
|
|
apply from: "$rootProject.projectDir/scripts/sources.gradle"
|
|
|
|
android {
|
|
defaultConfig {
|
|
applicationId "com.melih.rocketscience"
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildFeatures{
|
|
dataBinding = 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 and application compilation, but not used by app
|
|
|
|
compileOnly project(':abstractions')
|
|
compileOnly project(':data:interactors')
|
|
compileOnly project(':data:network')
|
|
compileOnly project(':data:definitions')
|
|
|
|
compileOnly libraries.retrofit
|
|
compileOnly libraries.paging
|
|
compileOnly libraries.swipeRefreshLayout
|
|
|
|
// Need for proper renders in xml previews
|
|
compileOnly libraries.constraintLayout
|
|
}
|