2023-04-24 20:54:26 +00:00
|
|
|
@file:Suppress("UnstableApiUsage")
|
|
|
|
|
|
|
|
import com.vanniktech.maven.publish.SonatypeHost.S01
|
|
|
|
import org.jetbrains.dokka.gradle.DokkaTask
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("android")
|
|
|
|
id("com.android.library")
|
|
|
|
id("com.vanniktech.maven.publish")
|
|
|
|
id("org.jetbrains.dokka")
|
|
|
|
id("org.jetbrains.kotlinx.kover")
|
|
|
|
`maven-publish`
|
|
|
|
kotlin("native.cocoapods")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-07-05 22:31:37 +00:00
|
|
|
implementation(libs.kotlinx.coroutines.rx2)
|
|
|
|
implementation(libs.kotlinx.coroutines.core)
|
|
|
|
implementation(libs.kotlinx.coroutines.android)
|
|
|
|
implementation(libs.rxjava)
|
2023-04-24 20:54:26 +00:00
|
|
|
implementation(project(":store"))
|
|
|
|
|
|
|
|
testImplementation(kotlin("test"))
|
2023-07-05 22:31:37 +00:00
|
|
|
testImplementation(libs.junit)
|
|
|
|
testImplementation(libs.google.truth)
|
|
|
|
testImplementation(libs.androidx.test.core)
|
|
|
|
testImplementation(libs.kotlinx.coroutines.test)
|
2023-04-24 20:54:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdk = 33
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk = 24
|
|
|
|
targetSdk = 33
|
|
|
|
}
|
|
|
|
|
|
|
|
lint {
|
|
|
|
disable += "ComposableModifierFactory"
|
|
|
|
disable += "ModifierFactoryExtensionFunction"
|
|
|
|
disable += "ModifierFactoryReturnType"
|
|
|
|
disable += "ModifierFactoryUnreferencedReceiver"
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<DokkaTask>().configureEach {
|
|
|
|
dokkaSourceSets.configureEach {
|
|
|
|
reportUndocumented.set(false)
|
|
|
|
skipDeprecated.set(true)
|
|
|
|
jdkVersion.set(8)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mavenPublishing {
|
|
|
|
publishToMavenCentral(S01)
|
|
|
|
signAllPublications()
|
|
|
|
}
|