home-assistant-android/common/build.gradle.kts
Justin Bassett 1f48c44f44
Clean up a bunch of warnings. (#1053)
* Clean up a bunch of warnings.

* Remove unused class.
2020-10-15 08:16:34 -04:00

40 lines
1.3 KiB
Plaintext

plugins {
id("com.android.library")
id("kotlin-android")
id("kotlin-kapt")
}
val homeAssistantAndroidPushUrl: String by project
val homeAssistantAndroidRateLimitUrl: String by project
android {
compileSdkVersion(Config.Android.compileSdk)
defaultConfig {
minSdkVersion(Config.Android.minSdk)
buildConfigField("String", "PUSH_URL", "\"$homeAssistantAndroidPushUrl\"")
buildConfigField("String", "RATE_LIMIT_URL", "\"$homeAssistantAndroidRateLimitUrl\"")
}
}
dependencies {
implementation(Config.Dependency.Kotlin.core)
implementation(Config.Dependency.Kotlin.reflect)
implementation(Config.Dependency.Kotlin.coroutines)
implementation(Config.Dependency.Google.dagger)
kapt(Config.Dependency.Google.daggerCompiler)
implementation(Config.Dependency.Square.retrofit)
implementation(Config.Dependency.Square.retrofitJacksonConverter)
implementation(Config.Dependency.Square.okhttp)
implementation(Config.Dependency.Square.okhttpInterceptor)
implementation(Config.Dependency.Misc.jackson)
testImplementation(Config.Dependency.Square.okhttpMockServer)
testImplementation(Config.Dependency.Testing.spek2Jvm)
testRuntimeOnly(Config.Dependency.Testing.spek2JUnit)
testImplementation(Config.Dependency.Testing.assertJ)
testImplementation(Config.Dependency.Testing.mockk)
}