mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
android: add and configure DaggerTrack
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
b5d91f1756
commit
61e1deb478
3 changed files with 18 additions and 0 deletions
|
@ -3,11 +3,19 @@ import java.util.Properties
|
|||
plugins {
|
||||
id("org.jetbrains.compose") version "0.5.0-build225"
|
||||
id("com.android.application")
|
||||
id("me.amanjeet.daggertrack")
|
||||
kotlin("android")
|
||||
kotlin("kapt")
|
||||
id("dagger.hilt.android.plugin")
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
|
||||
content { includeModule("me.amanjeet.daggertrack", "dagger-track-clocks") }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
kapt(libs.dagger.hilt.compiler)
|
||||
implementation(projects.api)
|
||||
|
@ -16,6 +24,7 @@ dependencies {
|
|||
implementation(libs.androidx.appcompat)
|
||||
implementation(libs.androidx.paging.compose)
|
||||
implementation(libs.dagger.hilt.android)
|
||||
implementation(libs.dagger.track.clocks)
|
||||
implementation(libs.retrofit.moshiConverter)
|
||||
implementation(libs.moshix.metadatareflect)
|
||||
}
|
||||
|
@ -49,4 +58,7 @@ android {
|
|||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
configure<me.amanjeet.daggertrack.DaggerTrackPlugin.DaggerTrackExtension> {
|
||||
applyFor = arrayOf("debug")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue