- core/core-common: buildConfig 활성화 및 Blog.kt를 :app에서 :core:core-common으로 이동 - feature/feature-torrent 모듈 신규 생성 (namespace: bums.lunatic.launcher.feature.torrent): * TorrentManager.kt(TorrentService, TorrentTask)를 :app에서 :feature:feature-torrent로 이동 * jlibtorrent-2.0.12.7.jar 및 ABI별 jlibtorrent-android-*.jar 5종을 feature/feature-torrent/libs/로 격리 및 api 노출 - settings.gradle.kts & app/build.gradle.kts: :feature:feature-torrent 모듈 등록 및 :app 의존성 연결 - TODO.md: 6-2(:feature:torrent 분리) 진행 내역 반영 - 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (18s, 73 actionable tasks)
30 lines
672 B
Kotlin
30 lines
672 B
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("kotlin-android")
|
|
}
|
|
|
|
android {
|
|
namespace = "bums.lunatic.launcher.feature.torrent"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
minSdk = 26
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core:core-common"))
|
|
api(fileTree(mapOf("dir" to "libs", "include" to listOf("jlibtorrent-*.jar"))))
|
|
implementation("androidx.core:core-ktx:1.15.0")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
|
|
}
|