Skip to content

Commit d47113d

Browse files
authored
Update MLKit dependency + Restructure code (#11)
* Update MLKit dependency + Restructure library * Remove ignored files
1 parent 400bbeb commit d47113d

27 files changed

+268
-602
lines changed

.gitignore

Lines changed: 2 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,12 @@
1-
# Built application files
2-
*.apk
3-
*.ap_
4-
5-
# Files for the ART/Dalvik VM
6-
*.dex
7-
8-
# Java class files
91
*.class
10-
11-
# Generated files
122
bin/
133
gen/
144
out/
15-
16-
# Gradle files
175
.gradle/
186
build/
19-
20-
# Local configuration file (sdk path, etc)
217
local.properties
22-
23-
# Proguard folder generated by Eclipse
248
proguard/
25-
26-
# Log Files
27-
*.log
28-
29-
# Android Studio Navigation editor temp files
30-
.navigation/
31-
32-
# Android Studio captures folder
339
captures/
34-
35-
# IntelliJ
3610
*.iml
37-
.idea/workspace.xml
38-
.idea/tasks.xml
39-
.idea/gradle.xml
40-
.idea/assetWizardSettings.xml
41-
.idea/dictionaries
42-
.idea/libraries
43-
.idea/caches
44-
45-
# Keystore files
46-
# Uncomment the following line if you do not want to check your keystore files in.
47-
#*.jks
48-
49-
# External native build folder generated in Android Studio 2.2 and later
50-
.externalNativeBuild
51-
52-
# Google Services (e.g. APIs or Firebase)
53-
google-services.json
54-
55-
# Freeline
56-
freeline.py
57-
freeline/
58-
freeline_project_description.json
59-
60-
# fastlane
61-
fastlane/report.xml
62-
fastlane/Preview.html
63-
fastlane/screenshots
64-
fastlane/test_output
65-
fastlane/readme.md
11+
.idea/*
12+
.DS_Store

.idea/kotlinc.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.idea/markdown-navigator.xml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.idea/markdown-navigator/profiles_settings.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.idea/runConfigurations.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

app/build.gradle

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,25 @@
1-
apply plugin: 'com.android.application'
2-
apply plugin: 'kotlin-android'
3-
apply plugin: 'kotlin-android-extensions'
1+
apply plugin: "com.android.application"
2+
apply plugin: "kotlin-android"
3+
apply plugin: "kotlin-android-extensions"
44

55
android {
6-
compileSdkVersion 28
6+
compileSdkVersion 30
77
defaultConfig {
88
applicationId "husaynhakeem.io.facedetectorapp"
99
minSdkVersion 21
10-
targetSdkVersion 28
10+
targetSdkVersion 30
1111
versionCode 1
12-
versionName "1.0"
13-
}
14-
buildTypes {
15-
release {
16-
minifyEnabled false
17-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18-
}
1912
}
2013
}
2114

2215
dependencies {
2316
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
24-
25-
implementation 'com.android.support:appcompat-v7:28.0.0'
26-
implementation 'com.android.support:design:28.0.0'
17+
implementation "androidx.appcompat:appcompat:1.1.0"
18+
implementation "com.google.android.material:material:1.1.0"
2719

2820
// Camera
2921
implementation "com.otaliastudios:cameraview:1.5.1"
3022

3123
// Android face detector
32-
implementation('com.github.husaynhakeem:android-face-detector:v1.1') {
33-
exclude group: 'com.android.support'
34-
}
24+
implementation(project(":facedetector"))
3525
}
36-
37-
apply plugin: 'com.google.gms.google-services'

app/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)