2026-04-29 16:31:04 +03:30
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
|
alias(libs.plugins.ksp)
|
|
|
|
|
alias(libs.plugins.hilt)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2026-05-06 23:33:56 +03:30
|
|
|
namespace = "com.example.p3"
|
|
|
|
|
compileSdk = 36
|
2026-04-29 16:31:04 +03:30
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk = 24
|
2026-05-06 23:33:56 +03:30
|
|
|
// targetSdk is often not needed for library modules
|
2026-04-29 16:31:04 +03:30
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
|
}
|
2026-05-06 23:33:56 +03:30
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
isMinifyEnabled = false
|
|
|
|
|
proguardFiles(
|
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
|
"proguard-rules.pro"
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-04-29 16:31:04 +03:30
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation(project(":core"))
|
|
|
|
|
implementation(libs.hilt.android)
|
|
|
|
|
ksp(libs.hilt.compiler)
|
|
|
|
|
|
|
|
|
|
implementation(libs.retrofit.converter.gson)
|
|
|
|
|
|
|
|
|
|
implementation(libs.androidx.appcompat)
|
|
|
|
|
implementation(libs.androidx.core.ktx)
|
|
|
|
|
implementation(libs.material)
|
|
|
|
|
testImplementation(libs.junit)
|
|
|
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
|
|
|
androidTestImplementation(libs.androidx.junit)
|
|
|
|
|
|
2026-05-06 23:33:56 +03:30
|
|
|
// Using implementation to bundle the JAR and avoid NoClassDefFoundError
|
|
|
|
|
implementation(files("libs/platform_sdk_v2.3.706.jar"))
|
|
|
|
|
implementation(files("libs/classes-2.1.17.jar"))
|
2026-04-29 16:31:04 +03:30
|
|
|
}
|