plugins { id("com.android.library") kotlin("android") kotlin("kapt") id("com.google.dagger.hilt.android") } android { defaultConfig { compileSdk = AppConfig.compileSdkVersion minSdk = AppConfig.minSdkVersion targetSdk = AppConfig.targetSdkVersion } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 isCoreLibraryDesugaringEnabled = false } buildTypes { create("debug_beta") { initWith(getByName("release")) BuildConfigFieldFactory( fields = listOf( Field.Environment("release"), Field.TestActionEnabled(true), Field.LogEnabled(true), ), builder = ::buildConfigField, ).create() } } } dependencies { /** Project */ implementation(project(":libs:auth")) /** DI */ implementation(Library.hilt) kapt(Library.hiltKapt) /** Coroutines */ implementation(Library.coroutine) /** Logging */ implementation(Library.timber) /** Network */ implementation(Library.retrofit) implementation(Library.retrofitMoshiConverter) implementation(Library.moshi) implementation(Library.moshiKotlin) implementation(Library.okHttp) implementation(Library.okHttpLogging) /** Time */ implementation(Library.jodatime) }