2020-06-10 19:16:11 +00:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
id("kotlin-android")
|
|
|
|
id("kotlin-kapt")
|
|
|
|
}
|
|
|
|
|
2020-10-11 18:14:49 +00:00
|
|
|
val homeAssistantAndroidPushUrl: String by project
|
|
|
|
val homeAssistantAndroidRateLimitUrl: String by project
|
|
|
|
|
2020-06-10 19:16:11 +00:00
|
|
|
android {
|
|
|
|
compileSdkVersion(Config.Android.compileSdk)
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion(Config.Android.minSdk)
|
2020-10-11 18:14:49 +00:00
|
|
|
buildConfigField("String", "PUSH_URL", "\"$homeAssistantAndroidPushUrl\"")
|
|
|
|
buildConfigField("String", "RATE_LIMIT_URL", "\"$homeAssistantAndroidRateLimitUrl\"")
|
2020-06-10 19:16:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(Config.Dependency.Kotlin.core)
|
2020-10-15 12:16:34 +00:00
|
|
|
implementation(Config.Dependency.Kotlin.reflect)
|
2020-06-10 19:16:11 +00:00
|
|
|
implementation(Config.Dependency.Kotlin.coroutines)
|
|
|
|
|
|
|
|
implementation(Config.Dependency.Google.dagger)
|
2020-06-11 17:15:50 +00:00
|
|
|
kapt(Config.Dependency.Google.daggerCompiler)
|
2020-06-10 19:16:11 +00:00
|
|
|
|
|
|
|
implementation(Config.Dependency.Square.retrofit)
|
2020-09-11 19:39:30 +00:00
|
|
|
implementation(Config.Dependency.Square.retrofitJacksonConverter)
|
|
|
|
implementation(Config.Dependency.Square.okhttp)
|
|
|
|
implementation(Config.Dependency.Square.okhttpInterceptor)
|
|
|
|
implementation(Config.Dependency.Misc.jackson)
|
2021-02-26 02:09:37 +00:00
|
|
|
implementation(Config.Dependency.Misc.altBeacon)
|
2020-09-11 19:39:30 +00:00
|
|
|
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)
|
2020-06-10 19:16:11 +00:00
|
|
|
}
|