Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | INFRASTRUCTURE & AUTOMATION4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : MacLustr SMS Gateway8 * File : android/app/build.gradle.kts9 * Module : android10 * Repository : https://git.spboucher.ai/maclustr-sms11 * Project Website : https://sms.spboucher.ai12 * Created : 2026-11-3013 * Last Modified : 2026-11-3014 *15 * Author : Simon-Pierre Boucher16 * Position : Professor of Finance17 * Institution : Université du Québec en Outaouais (UQO)18 * Organization : SP Boucher19 * Website : https://spboucher.ai20 * Git : https://git.spboucher.ai21 *22 * Preferred Contact: admin@spboucher.ai23 * Technical Contact: dev@spboucher.ai24 * Security/Admin : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142import java.util.Properties4344plugins {45 id("com.android.application")46 id("org.jetbrains.kotlin.plugin.compose")47 id("org.jetbrains.kotlin.plugin.serialization")48 id("com.google.devtools.ksp")49}5051val keystoreProps = Properties().apply {52 val f = rootProject.file("keystore.properties")53 if (f.exists()) f.inputStream().use { load(it) }54}5556android {57 namespace = "ai.spboucher.maclustr.sms"58 compileSdk { version = release(37) { minorApiLevel = 2 } }5960 defaultConfig {61 applicationId = "ai.spboucher.maclustr.sms"62 minSdk = 3163 targetSdk = 3664 versionCode = 265 versionName = "1.0.1"66 }67 signingConfigs {68 if (keystoreProps.containsKey("storeFile")) {69 create("release") {70 storeFile = file(keystoreProps.getProperty("storeFile"))71 storePassword = keystoreProps.getProperty("storePassword")72 keyAlias = keystoreProps.getProperty("keyAlias")73 keyPassword = keystoreProps.getProperty("keyPassword")74 }75 }76 }77 buildTypes {78 release {79 isMinifyEnabled = true80 isShrinkResources = true81 proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")82 signingConfig = signingConfigs.findByName("release")83 }84 }85 compileOptions {86 sourceCompatibility = JavaVersion.VERSION_1787 targetCompatibility = JavaVersion.VERSION_1788 }89 buildFeatures { compose = true; buildConfig = true }90 lint { abortOnError = true; warningsAsErrors = false }91}9293ksp { arg("room.schemaLocation", "$projectDir/schemas") }9495dependencies {96 implementation(platform("androidx.compose:compose-bom:2026.11.01"))97 implementation("androidx.compose.ui:ui")98 implementation("androidx.compose.ui:ui-tooling-preview")99 implementation("androidx.compose.material3:material3")100 implementation("androidx.compose.material:material-icons-extended")101 implementation("androidx.activity:activity-compose:1.13.0")102 implementation("androidx.lifecycle:lifecycle-runtime-compose:2.11.1")103 implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.11.1")104 implementation("androidx.work:work-runtime-ktx:2.12.0")105 implementation("androidx.core:core-ktx:1.19.1")106 implementation("androidx.room:room-runtime:2.8.5")107 implementation("androidx.room:room-ktx:2.8.5")108 ksp("androidx.room:room-compiler:2.8.5")109 implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.13.0")110 implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.11.0")111 implementation("com.squareup.okhttp3:okhttp:5.5.1")112 implementation("com.journeyapps:zxing-android-embedded:4.3.0")113114 testImplementation("junit:junit:4.13.2")115 testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.11.0")116}117