Skip to content

Instantly share code, notes, and snippets.

@nuhkoca
Created November 23, 2017 14:12
Show Gist options
  • Save nuhkoca/3ab32743c9e2cb47d1faf58fceafac78 to your computer and use it in GitHub Desktop.
Save nuhkoca/3ab32743c9e2cb47d1faf58fceafac78 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.nuhkoca.android.mvpcleancodedemo"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildConfigField "int", "LIMIT", "100"
buildConfigField "String", "BASEURL", "\"http://private-b8cf44-androidcleancode.apiary-mock.com/\""
buildConfigField "int", "CACHETIME", "432000" // 5days
}
buildTypes {
release {
postprocessing {
removeUnusedCode false
removeUnusedResources false
obfuscate false
optimizeCode false
proguardFile 'proguard-rules.pro'
}
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.0.1'
compile 'com.android.support:design:27.0.1'
compile 'com.android.support:recyclerview-v7:27.0.1'
compile 'com.android.support:cardview-v7:27.0.1'
compile 'com.github.bumptech.glide:glide:4.1.1'
provided 'org.glassfish:javax.annotation:10.0-b28'
compile 'com.google.code.gson:gson:2.8.2'
compile 'com.squareup.retrofit2:retrofit:2.2.0'
compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.2.0'
compile 'com.squareup.retrofit2:converter-scalars:2.1.0'
compile 'io.reactivex:rxandroid:1.2.1'
compile 'io.reactivex:rxjava:1.1.6'
apt 'com.google.dagger:dagger-compiler:2.2'
compile 'com.google.dagger:dagger:2.2'
provided 'javax.annotation:jsr250-api:1.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment