Skip to content

Commit

Permalink
finish the gify search challenge with unit and ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudRamadan authored and MahmoudRamadan committed Feb 17, 2020
0 parents commit 9c69f71
Show file tree
Hide file tree
Showing 175 changed files with 2,649 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
122 changes: 122 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
76 changes: 76 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion Android.compileSDK
defaultConfig {
applicationId Android.applicationId
minSdkVersion Android.minSDK
targetSdkVersion Android.targetSDK
versionCode Android.versionCode
versionName Android.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

androidExtensions {
experimental = true
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation Libs.kotlinStdLib
implementation Libs.appCompat
implementation Libs.coreExt


// Testing Dependencies
testImplementation TestLibs.junit
androidTestImplementation TestLibs.espressoCore
androidTestImplementation TestLibs.espressoContrib
implementation TestLibs.espressoIdlingResource
testImplementation TestLibs.archCoreTesting
androidTestImplementation TestLibs.testRunner
androidTestImplementation TestLibs.rules
androidTestImplementation TestLibs.truth
androidTestImplementation TestLibs.junitExt
testImplementation TestLibs.mockito
testImplementation TestLibs.mockHttpServer


//material lib
implementation Libs.material
// android libs
implementation Libs.recyclerview
implementation Libs.cardview
implementation Libs.constraintLayout
//RxJava
implementation Libs.rxVersion
implementation Libs.rxAndroid
implementation Libs.rxAdapter
//Retrofit
implementation Libs.retrofit
//Gson
implementation Libs.gson
implementation Libs.gsonConverter
//okhttp logging
implementation Libs.loggingInterceptor
//dagger
implementation Libs.dagger
kapt Libs.daggerCompiler
// live data with view model
implementation Libs.viewModel
implementation Libs.liveData
//glide
implementation Libs.glide
kapt Libs.glideCompiler

}
21 changes: 21 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Loading

0 comments on commit 9c69f71

Please sign in to comment.