api: initial commit

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-06-03 00:32:17 +05:30
parent 29c374859b
commit fcfcbfbf92
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
17 changed files with 274 additions and 12 deletions

23
api/build.gradle.kts Normal file
View file

@ -0,0 +1,23 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
id("com.google.devtools.ksp") version "1.5.10-1.0.0-beta01"
}
dependencies {
api(libs.thirdparty.retrofit.lib)
ksp(libs.thirdparty.moshix.ksp)
implementation(libs.thirdparty.moshi.lib)
implementation(libs.thirdparty.retrofit.moshiConverter) { exclude(group = "com.squareup.moshi") }
testImplementation(libs.kotlin.coroutines.core)
testImplementation(libs.testing.kotlintest.junit)
testImplementation(libs.testing.mockWebServer)
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
languageVersion = "1.5"
}
}