Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions facerecognition/build.gradle
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "25.0.0"
compileSdkVersion 30 // Update to a more recent version
buildToolsVersion "30.0.3" // Update to a compatible version

defaultConfig {
applicationId "cultoftheunicorn.marvel"
minSdkVersion 15
targetSdkVersion 22
minSdkVersion 16 // Update if possible, 15 is quite old
targetSdkVersion 30 // Update to match compileSdkVersion
versionCode 1
versionName "1.0"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile project(':openCVLibrary2410')
compile files('libs/javacpp.jar')
compile files('libs/javacv.jar')
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9'
compile 'com.android.support:recyclerview-v7:22.2.0'
// compile 'com.google.firebase:firebase-database:10.0.1'
}
implementation project(':openCVLibrary2410') // Change 'compile' to 'implementation'
implementation files('libs/javacpp.jar')
implementation files('libs/javacv.jar')
implementation 'com.android.support:appcompat-v7:28.0.0' // Update to the latest support library
implementation 'androidx.constraintlayout:constraintlayout:2.0.4' // Use AndroidX
implementation 'androidx.recyclerview:recyclerview:1.1.0' // Use AndroidX

// Uncomment and update Firebase dependency if needed
// implementation 'com.google.firebase:firebase-database:19.7.0' // Update to latest version
}

//apply plugin: 'com.google.gms.google-services'
// Uncomment if you're using Google Services
// apply plugin: 'com.google.gms.google-services'