compose-lobsters/api/build.gradle.kts
Harsh Shandilya daf66a16bc refactor: move HttpFailure.toError to api module
Also expose EitherNet as an api dependency since it's part of the
public API.
2025-05-26 18:51:23 +05:30

37 lines
1,014 B
Kotlin

/*
* Copyright © Harsh Shandilya.
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
import dev.msfjarvis.claw.gradle.addTestDependencies
plugins {
id("dev.msfjarvis.claw.android-library")
id("dev.msfjarvis.claw.kotlin-android")
alias(libs.plugins.anvil)
alias(libs.plugins.whetstone)
alias(libs.plugins.dependencyAnalysis)
}
android { namespace = "dev.msfjarvis.claw.api" }
anvil { generateDaggerFactories.set(true) }
dependencies {
api(libs.dagger)
api(libs.eithernet)
api(libs.javax.inject)
api(libs.okhttp.core)
api(libs.retrofit)
api(projects.model)
implementation(libs.eithernet.integration.retrofit)
implementation(libs.jsoup)
testImplementation(libs.eithernet.test.fixtures)
testImplementation(libs.kotlinx.coroutines.test)
testImplementation(libs.kotlinx.serialization.core)
testImplementation(libs.kotlinx.serialization.json)
addTestDependencies(project)
}