- core/core-common 모듈 신규 생성 (namespace: bums.lunatic.launcher.core.common): * MlKitTranslationHelper.kt를 :app에서 :core:core-common으로 이동 - core/core-network 모듈 신규 생성 (namespace: bums.lunatic.launcher.core.network): * NetworkClient.kt를 :app에서 :core:core-network로 이동 (OkHttp3 api 의존성 노출) - settings.gradle.kts & app/build.gradle.kts: :core:core-common, :core:core-network 모듈 등록 및 :app 의존성 연결 - TODO.md: 6-1(코어 공통/네트워크 분리) 진행 내역 반영 - 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (13s, 59 actionable tasks)
30 lines
669 B
Kotlin
30 lines
669 B
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("kotlin-android")
|
|
}
|
|
|
|
android {
|
|
namespace = "bums.lunatic.launcher.core.common"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
minSdk = 26
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
|
|
implementation("com.google.android.gms:play-services-tasks:18.3.2")
|
|
implementation("com.google.mlkit:translate:17.0.3")
|
|
implementation("com.google.mlkit:language-id:17.0.5")
|
|
}
|