feat/#28 (#29)

Co-authored-by: Sayan Datta <sayan@Sayans-MacBook-Air.local>
Reviewed-on: #29
This commit was merged in pull request #29.
This commit is contained in:
2026-04-20 00:48:01 +05:30
parent 4e3ce623a6
commit 57144e1bd3
65 changed files with 7652 additions and 2202 deletions

View File

@@ -4,6 +4,11 @@ plugins {
id("org.jetbrains.kotlin.plugin.compose")
}
fun Project.gradleStringProperty(name: String, defaultValue: String): String {
val raw = (findProperty(name) as String?) ?: defaultValue
return "\"${raw.replace("\\", "\\\\").replace("\"", "\\\"")}\""
}
android {
namespace = "com.desineuron.velocity.edgephone"
compileSdk = 35
@@ -16,6 +21,10 @@ android {
versionName = "1.0.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("String", "VELOCITY_BASE_URL", project.gradleStringProperty("VELOCITY_BASE_URL", "https://api.desineuron.in"))
buildConfigField("String", "VELOCITY_API_EMAIL", project.gradleStringProperty("VELOCITY_API_EMAIL", ""))
buildConfigField("String", "VELOCITY_API_PASSWORD", project.gradleStringProperty("VELOCITY_API_PASSWORD", ""))
buildConfigField("String", "VELOCITY_BEARER_TOKEN", project.gradleStringProperty("VELOCITY_BEARER_TOKEN", ""))
}
buildTypes {
@@ -39,6 +48,7 @@ android {
buildFeatures {
compose = true
buildConfig = true
}
}
@@ -55,6 +65,7 @@ dependencies {
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-tooling-preview")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1")
debugImplementation("androidx.compose.ui:ui-tooling")
}