Created
November 13, 2019 19:37
-
-
Save oscarg798/699c6a1c11534272f10146283bed85e1 to your computer and use it in GitHub Desktop.
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
apply plugin: 'com.android.library' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-kapt' | |
apply plugin: 'kotlin-android-extensions' | |
android { | |
compileSdkVersion 29 | |
buildToolsVersion "29.0.1" | |
defaultConfig { | |
minSdkVersion 21 | |
targetSdkVersion 29 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "com.reyesmagos.storiphy.core.test.CustomTestRunner" | |
consumerProguardFiles 'consumer-rules.pro' | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
kapt { generateStubs = true } | |
androidExtensions { | |
experimental = true | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
def androidDependencies = rootProject.ext.androidDependencies | |
def acceptanceTesting = rootProject.ext.acceptanceTesting | |
def applicationDependencies = rootProject.ext.mainApplication | |
def testDependencies = rootProject.ext.unitTesting | |
def networkingDependencies = rootProject.ext.networking | |
implementation applicationDependencies.picasso | |
implementation androidDependencies.appCompat | |
implementation androidDependencies.cardView | |
implementation androidDependencies.recyclerView | |
implementation androidDependencies.design | |
implementation androidDependencies.constraintLayout | |
implementation androidDependencies.appCompatV4 | |
implementation androidDependencies.appCompatV7 | |
implementation androidDependencies.preferenceV7 | |
implementation androidDependencies.preferenceV14 | |
implementation androidDependencies.customTabs | |
implementation androidDependencies.multidex | |
//Kotlin | |
implementation applicationDependencies.kotlinJDK | |
//Dagger | |
implementation applicationDependencies.dagger | |
implementation applicationDependencies.daggerAndroidSupport | |
kapt applicationDependencies.daggerCompiler | |
kapt applicationDependencies.daggerAndroidProcessor | |
implementation 'com.google.code.findbugs:jsr305:3.0.2' | |
//Coroutines | |
implementation applicationDependencies.kotlinCoroutines | |
implementation applicationDependencies.kotlinCoroutinesAndroid | |
//Retrofit | |
implementation networkingDependencies.retrofit | |
implementation networkingDependencies.gsonConverter | |
implementation networkingDependencies.coroutineAdapter | |
implementation networkingDependencies.okhttp3 | |
implementation networkingDependencies.okhttpLoggingInterceptor | |
//Test | |
testImplementation testDependencies.kluent | |
testImplementation testDependencies.mockk | |
testImplementation testDependencies.mockitoCore | |
testImplementation testDependencies.junit | |
//Acceptance Testing | |
androidTestImplementation acceptanceTesting.testRunner | |
androidTestImplementation acceptanceTesting.espressoCore | |
androidTestImplementation acceptanceTesting.espressoContrib | |
androidTestImplementation acceptanceTesting.espressoIntents | |
androidTestImplementation acceptanceTesting.uiAutomator | |
androidTestImplementation 'com.jakewharton.espresso:okhttp3-idling-resource:1.0.0' | |
androidTestImplementation project(path: ':core') | |
implementation project(path: ':core') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment