Files
Android-Kotlin-Modulerized-…/app/build.gradle
Melih Aksoy 88022629e1 WIP: feature/abstractions (#45)
* Abstraction layer backup

* Removed DataEntity, was unnecessary for now

* Separated network, persistence, entities and interaction, closes #29

* Renamed binding

* Removed build files, example tests

Removed build files, example tests

* Fixed build files were not being ignored all around app

* Updated CI ymls

* Small changes

* Fixed legacy repository package names

* Fixed CQ findings

* Updated Fastlane

* Packaging changes and version upgrades

* Removed core from interactors

* Version bumps

* Added new module graph
2019-10-30 17:27:53 +01:00

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"
}
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 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
}