|
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.android.application)
|
|
|
|
|
alias(libs.plugins.kotlin.android)
|
|
|
|
|
alias(libs.plugins.kotlin.compose)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
namespace 'com.quillstudios.pokegoalshelper'
|
|
|
|
|
compileSdk 36
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
applicationId "com.quillstudios.pokegoalshelper"
|
|
|
|
|
minSdk 25
|
|
|
|
|
targetSdk 36
|
|
|
|
|
versionCode 1
|
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
|
|
|
}
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = '17'
|
|
|
|
|
}
|
|
|
|
|
buildFeatures {
|
|
|
|
|
compose true
|
|
|
|
|
}
|
|
|
|
|
composeOptions {
|
|
|
|
|
kotlinCompilerExtensionVersion = "1.5.4"
|
|
|
|
|
}
|
|
|
|
|
ndkVersion '27.2.12479018'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = "17"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
|
|
implementation libs.androidx.core.ktx
|
|
|
|
|
implementation libs.androidx.lifecycle.runtime.ktx
|
|
|
|
|
implementation libs.androidx.activity.compose
|
|
|
|
|
implementation platform(libs.androidx.compose.bom)
|
|
|
|
|
implementation libs.androidx.ui
|
|
|
|
|
implementation libs.androidx.ui.graphics
|
|
|
|
|
implementation libs.androidx.ui.tooling.preview
|
|
|
|
|
implementation libs.androidx.material3
|
|
|
|
|
testImplementation libs.junit
|
|
|
|
|
androidTestImplementation libs.androidx.junit
|
|
|
|
|
androidTestImplementation libs.androidx.espresso.core
|
|
|
|
|
androidTestImplementation platform(libs.androidx.compose.bom)
|
|
|
|
|
androidTestImplementation libs.androidx.ui.test.junit4
|
|
|
|
|
debugImplementation libs.androidx.ui.tooling
|
|
|
|
|
debugImplementation libs.androidx.ui.test.manifest
|
|
|
|
|
|
|
|
|
|
implementation project(':opencv')
|
|
|
|
|
|
|
|
|
|
// ML Kit for text recognition (OCR)
|
|
|
|
|
implementation 'com.google.mlkit:text-recognition:16.0.0'
|
|
|
|
|
|
|
|
|
|
// TensorFlow Lite
|
|
|
|
|
implementation 'org.tensorflow:tensorflow-lite:2.13.0'
|
|
|
|
|
implementation 'org.tensorflow:tensorflow-lite-support:0.4.4'
|
|
|
|
|
|
|
|
|
|
// ONNX Runtime
|
|
|
|
|
implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.16.3'
|
|
|
|
|
|
|
|
|
|
// Material Design Components for Views (FloatingActionButton)
|
|
|
|
|
implementation 'com.google.android.material:material:1.11.0'
|
|
|
|
|
}
|