Created
April 17, 2018 09:30
-
-
Save iChintanSoni/7c7ec406c7d5683c8fa55d1b3047a1fa to your computer and use it in GitHub Desktop.
Daggering Kotlin-anroid: build.gradle
This file contains hidden or 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.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
apply plugin: 'kotlin-kapt' | |
android { | |
compileSdkVersion 27 | |
defaultConfig { | |
applicationId "com.simform.android.dagger2advanced" | |
minSdkVersion 16 | |
targetSdkVersion 27 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
buildTypes { | |
buildTypes.each { | |
it.buildConfigField("String", "BASE_URL", "https://randomuser.me/") | |
} | |
} | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" | |
implementation 'com.android.support:appcompat-v7:27.1.1' | |
implementation 'com.android.support.constraint:constraint-layout:1.0.2' | |
implementation 'com.android.support:design:27.1.1' | |
implementation 'com.squareup.retrofit2:retrofit:2.4.0' | |
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0' | |
implementation 'com.squareup.retrofit2:converter-gson:2.4.0' | |
implementation 'com.squareup.okhttp3:okhttp:3.10.0' | |
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0' | |
implementation 'com.jakewharton.timber:timber:4.7.0' | |
implementation "com.google.dagger:dagger:2.15" | |
kapt "com.google.dagger:dagger-compiler:2.15" | |
implementation "com.google.dagger:dagger-android-support:2.15" | |
kapt "com.google.dagger:dagger-android-processor:2.15" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment