66 lines
1.9 KiB
Kotlin
66 lines
1.9 KiB
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("kotlin-kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.smoa.modules.reports"
|
|
compileSdk = AppConfig.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdk = AppConfig.minSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.4"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core:common"))
|
|
implementation(project(":core:security"))
|
|
|
|
implementation(platform(Dependencies.composeBom))
|
|
implementation(Dependencies.composeUi)
|
|
implementation(Dependencies.composeUiGraphics)
|
|
implementation(Dependencies.composeMaterial3)
|
|
implementation(Dependencies.androidxCoreKtx)
|
|
implementation(Dependencies.androidxLifecycleRuntimeKtx)
|
|
|
|
implementation(Dependencies.hiltAndroid)
|
|
kapt(Dependencies.hiltAndroidCompiler)
|
|
|
|
// Report generation libraries
|
|
// TODO: PDFBox Android - may need alternative version or repository
|
|
// Temporarily commented - uncomment when dependency is available:
|
|
// implementation(Dependencies.pdfbox)
|
|
// TODO: POI requires minSdk 26, but project uses minSdk 24
|
|
// Temporarily commented - uncomment when minSdk is increased or alternative is found:
|
|
// implementation(Dependencies.poi)
|
|
// implementation(Dependencies.poiOoxml)
|
|
implementation(Dependencies.jacksonCore)
|
|
implementation(Dependencies.jacksonDatabind)
|
|
implementation(Dependencies.jacksonKotlin)
|
|
implementation(Dependencies.jaxbApi)
|
|
implementation(Dependencies.jaxbRuntime)
|
|
|
|
implementation(Dependencies.coroutinesCore)
|
|
implementation(Dependencies.coroutinesAndroid)
|
|
}
|
|
|