mirror of
https://github.com/home-assistant/android
synced 2024-10-04 23:29:31 +00:00
6b03613352
* Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0 Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.0. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump Gradle version * Build default values changes - Remove items that match new defaults - Add item to keep old default to allow for those changes to happen in another PR * Align target Kotlin version with target Java version * Use JDK 17 * Remove one more item that now matches default --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.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.3.1"
|
|
id("com.github.ben-manes.versions") version "0.46.0"
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:8.0.0")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
|
|
classpath("com.google.gms:google-services:4.3.15")
|
|
classpath("com.google.firebase:firebase-appdistribution-gradle:4.0.0")
|
|
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.8.2.1")
|
|
classpath("com.github.triplet.gradle:play-publisher:3.8.1")
|
|
classpath("com.google.dagger:hilt-android-gradle-plugin:2.45")
|
|
}
|
|
}
|
|
|
|
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)
|
|
}
|