Skip to content

Commit 0384c21

Browse files
Initial commit
0 parents  commit 0384c21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1656
-0
lines changed

Diff for: .gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

Diff for: .idea/.gitignore

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/.name

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/codeStyles/Project.xml

+123
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/compiler.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/gradle.xml

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/jarRepositories.xml

+35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/misc.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

Diff for: app/build.gradle

+156
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
plugins {
2+
id 'com.android.application'
3+
id 'kotlin-android'
4+
id 'kotlin-android-extensions'
5+
id 'dagger.hilt.android.plugin'
6+
id 'kotlin-kapt'
7+
}
8+
9+
android {
10+
compileSdkVersion 30
11+
buildToolsVersion "30.0.1"
12+
13+
defaultConfig {
14+
applicationId "com.daniyalxdubizzle.androidtakehomeproject"
15+
minSdkVersion 21
16+
targetSdkVersion 30
17+
versionCode 1
18+
versionName "1.0"
19+
20+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
21+
}
22+
23+
buildTypes {
24+
release {
25+
minifyEnabled true
26+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
27+
}
28+
}
29+
compileOptions {
30+
sourceCompatibility JavaVersion.VERSION_1_8
31+
targetCompatibility JavaVersion.VERSION_1_8
32+
}
33+
kotlinOptions {
34+
jvmTarget = '1.8'
35+
}
36+
dataBinding {
37+
enabled true
38+
}
39+
40+
kotlinOptions {
41+
jvmTarget = JavaVersion.VERSION_1_8.toString()
42+
}
43+
externalNativeBuild {
44+
ndkBuild {
45+
path 'src/main/jni/Android.mk'
46+
}
47+
48+
cmake {
49+
version "cmake-version"
50+
}
51+
}
52+
ndkVersion '21.0.6113669'
53+
}
54+
55+
dependencies {
56+
57+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
58+
implementation 'androidx.core:core-ktx:1.2.0'
59+
implementation 'androidx.appcompat:appcompat:1.1.0'
60+
implementation 'com.google.android.material:material:1.1.0'
61+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
62+
testImplementation 'junit:junit:4.+'
63+
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
64+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
65+
66+
// Recycler View
67+
implementation "androidx.recyclerview:recyclerview:$recycler_version"
68+
// Card View
69+
implementation "com.android.support:cardview-v7:$supportLibraryVersion"
70+
// Kotlin Anko
71+
implementation "org.jetbrains.anko:anko:$anko_version"
72+
// AndroidX support design
73+
implementation "com.google.android.material:material:$material_version"
74+
/*MultiDex*/
75+
implementation "com.android.support:multidex:$multidex_version"
76+
// Circular ImageView
77+
implementation 'de.hdodenhof:circleimageview:3.1.0'
78+
// Retrofit
79+
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
80+
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
81+
implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2'
82+
// gson
83+
implementation "com.google.code.gson:gson:$gson_version"
84+
// ViewModel and LiveData
85+
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
86+
implementation "androidx.lifecycle:lifecycle-common-java8:$arch_lifecycle"
87+
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_rc_version"
88+
89+
// Hilt
90+
implementation "com.google.dagger:hilt-android:$dagger_hilt"
91+
kapt "com.google.dagger:hilt-android-compiler:$dagger_hilt"
92+
implementation "androidx.hilt:hilt-lifecycle-viewmodel:$hilt_lifecycle"
93+
kapt "androidx.hilt:hilt-compiler:$hilt_lifecycle"
94+
implementation "androidx.fragment:fragment-ktx:1.3.1"
95+
// Glide
96+
implementation "com.github.bumptech.glide:glide:$glide_version"
97+
annotationProcessor "com.github.bumptech.glide:compiler:$glide_version"
98+
// Coroutines
99+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
100+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
101+
102+
//Runtime Permission
103+
implementation "com.github.quickpermissions:quickpermissions-kotlin:0.4.0"
104+
// viewpager indicator dependency
105+
implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:4.1.2'
106+
// spring physics animation dependency
107+
implementation 'androidx.dynamicanimation:dynamicanimation:1.0.0'
108+
109+
// Joda Date & Time
110+
implementation 'joda-time:joda-time:2.9.7'
111+
112+
113+
//sdp-ssp
114+
implementation 'com.intuit.sdp:sdp-android:1.0.6'
115+
implementation 'com.intuit.ssp:ssp-android:1.0.6'
116+
117+
// RxAndroid
118+
implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"
119+
// RxJava
120+
implementation "io.reactivex.rxjava2:rxjava:$rxjava_version"
121+
122+
// Rx-Retrofit Call Adapter
123+
implementation "com.squareup.retrofit2:adapter-rxjava2:2.8.1"
124+
125+
// Retrofit call adapter
126+
implementation 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
127+
// Reactive Streams (convert Observable to LiveData)
128+
implementation "android.arch.lifecycle:reactivestreams:$reactivestreams_version"
129+
// For each lifecycle Scope
130+
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_rc_version"
131+
132+
implementation 'me.zhanghai.android.materialratingbar:library:1.4.0'
133+
134+
implementation "com.github.firdausmaulan:GlideSlider:1.5.1"
135+
// Maps
136+
implementation 'com.google.android.gms:play-services-maps:17.0.0'
137+
138+
139+
//Room
140+
// Room
141+
def room_version = "2.2.5"
142+
implementation "androidx.room:room-runtime:$room_version"
143+
kapt "androidx.room:room-compiler:$room_version"
144+
145+
// Kotlin Extensions and Coroutines support for Room
146+
implementation "androidx.room:room-ktx:$room_version"
147+
148+
implementation 'com.crystal:crystalrangeseekbar:1.1.3'
149+
150+
implementation 'com.karumi:dexter:6.1.0'
151+
152+
153+
// Lottie
154+
implementation 'com.airbnb.android:lottie:3.5.0'
155+
implementation 'com.facebook.shimmer:shimmer:0.5.0'
156+
}

0 commit comments

Comments
 (0)