mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 11:27:01 +05:30
build: convert to Gradle Kotlin DSL
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
9839bf4014
commit
1e2fef884f
19 changed files with 514 additions and 230 deletions
|
@ -1,14 +0,0 @@
|
|||
plugins {
|
||||
id 'kotlin-kapt'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":model")
|
||||
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
|
||||
implementation "com.squareup.retrofit2:converter-moshi:$retrofit_version"
|
||||
kaptTest "com.squareup.moshi:moshi-kotlin-codegen:$moshi_version"
|
||||
testImplementation "junit:junit:$junit_version"
|
||||
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
||||
//noinspection GradleDependency
|
||||
testImplementation "com.squareup.okhttp3:mockwebserver:$okhttp_version"
|
||||
}
|
16
lobsters-api/build.gradle.kts
Normal file
16
lobsters-api/build.gradle.kts
Normal file
|
@ -0,0 +1,16 @@
|
|||
plugins {
|
||||
id("com.android.library")
|
||||
kotlin("android")
|
||||
kotlin("kapt")
|
||||
`lobsters-plugin`
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":model"))
|
||||
implementation(Dependencies.ThirdParty.Retrofit.lib)
|
||||
implementation(Dependencies.ThirdParty.Retrofit.moshi)
|
||||
kaptTest(Dependencies.ThirdParty.Moshi.codegen)
|
||||
testImplementation(Dependencies.Testing.junit)
|
||||
testImplementation(Dependencies.Kotlin.Coroutines.core)
|
||||
testImplementation(Dependencies.Testing.mockWebServer)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue