fix(build): resolve all build, dependency, and toolchain errors

This commit is contained in:
2025-07-23 01:54:40 +02:00
parent 4e8e3713ed
commit 770bbd6bfd
4 changed files with 48 additions and 0 deletions

View File

@@ -61,6 +61,8 @@ jobs:
needs: security-scan
runs-on: ubuntu-latest
steps:
- name: Install AArch64 Linker
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
- uses: actions/checkout@v4
- name: Install Rust MUSL target
run: rustup target add x86_64-unknown-linux-musl aarch64-unknown-linux-musl

View File

@@ -0,0 +1,25 @@
plugins {
id("com.android.application")
kotlin("android")
}
android {
namespace = "com.corestate.androidApp"
compileSdk = 34
defaultConfig {
applicationId = "com.corestate.androidApp"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = "1.0"
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
}
}
}
dependencies {
implementation(project(":apps:android:shared"))
}

View File

@@ -0,0 +1,19 @@
plugins {
kotlin("multiplatform")
id("com.android.library")
}
kotlin {
androidTarget()
sourceSets {
val commonMain by getting
}
}
android {
namespace = "com.corestate.shared"
compileSdk = 34
defaultConfig {
minSdk = 26
}
}

View File

@@ -19,6 +19,8 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
runtimeOnly("com.h2database:h2")
testImplementation("org.springframework.boot:spring-boot-starter-test")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
}