mirror of
https://github.com/home-assistant/android
synced 2024-10-07 00:29:32 +00:00
027cdb44c9
Bumps com.android.tools.build:gradle from 7.4.0 to 7.4.1. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle 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>
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id("org.jlleitschuh.gradle.ktlint") version "11.1.0"
|
|
id("com.github.ben-manes.versions") version "0.45.0"
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:7.4.1")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
|
|
classpath("com.google.gms:google-services:4.3.15")
|
|
classpath("com.google.firebase:firebase-appdistribution-gradle:3.2.0")
|
|
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.8.2.1")
|
|
classpath("com.github.triplet.gradle:play-publisher:3.7.0")
|
|
classpath("com.google.dagger:hilt-android-gradle-plugin:2.44.2")
|
|
}
|
|
}
|
|
|
|
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)
|
|
}
|