home-assistant-android/build.gradle.kts
dependabot[bot] bd6cdb0f64
Bump google-services from 4.3.10 to 4.3.12 (#2641)
Bumps google-services from 4.3.10 to 4.3.12.

---
updated-dependencies:
- dependency-name: com.google.gms:google-services
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-26 15:40:53 -04:00

47 lines
1.2 KiB
Plaintext

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.jlleitschuh.gradle.ktlint") version "10.3.0"
id("com.github.ben-manes.versions") version "0.42.0"
}
buildscript {
repositories {
google()
gradlePluginPortal()
}
dependencies {
classpath("com.android.tools.build:gradle:7.2.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10")
classpath("com.google.gms:google-services:4.3.12")
classpath("com.google.firebase:firebase-appdistribution-gradle:3.0.2")
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.8.2.0")
classpath("com.github.triplet.gradle:play-publisher:3.7.0")
classpath("com.google.dagger:hilt-android-gradle-plugin:2.42")
}
}
allprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
}
}
}
gradle.projectsEvaluated {
project(":app").tasks.matching { it.name.startsWith("publish") }.configureEach {
mustRunAfter(project(":wear").tasks.matching { it.name.startsWith("publish") })
}
}
tasks.register("clean").configure {
delete("build")
}
ktlint {
android.set(true)
}