Files
FireflyGo_Android/app/build.gradle.kts

88 lines
2.5 KiB
Plaintext

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kotlin.compose)
}
android {
namespace = "com.example.fireflypsandorid"
compileSdk = 35
defaultConfig {
applicationId = "com.example.fireflypsandorid"
minSdk = 24
targetSdk = 35
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.0"
}
}
dependencies {
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
implementation("androidx.activity:activity-compose:1.8.2")
// Compose UI
implementation("androidx.compose.ui:ui:1.5.3")
implementation("androidx.compose.ui:ui-graphics:1.5.3")
implementation("androidx.compose.ui:ui-tooling-preview:1.5.3")
// Foundation & Animation
implementation("androidx.compose.foundation:foundation:1.5.3")
implementation("androidx.compose.animation:animation:1.5.3")
implementation("androidx.compose.animation:animation-core:1.5.3")
// Material & Material3
implementation("androidx.compose.material:material:1.5.3")
implementation("androidx.compose.material:material-icons-extended:1.5.3")
implementation("androidx.compose.material3:material3:1.2.0")
implementation("androidx.compose.material3:material3-window-size-class:1.2.0")
// Auto updater library
implementation("com.github.CSAbhiOnline:AutoUpdater:1.0.1")
// Unit Test
testImplementation("junit:junit:4.13.2")
// Android Instrumentation Test
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.5.3")
// Debug
debugImplementation("androidx.compose.ui:ui-tooling:1.5.3")
debugImplementation("androidx.compose.ui:ui-test-manifest:1.5.3")
// Local AAR library
implementation(files("../library/firefly-go.aar"))
}