mirror of
https://github.com/home-assistant/android
synced 2024-09-16 06:41:33 +00:00
c5ebd99a48
* Dependency Updates. Needed to correctly call for Firebase Token in ioScope not main. * Bump coroutines test dep as well.
41 lines
1 KiB
Plaintext
41 lines
1 KiB
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id("org.jlleitschuh.gradle.ktlint") version "10.1.0"
|
|
id("com.github.ben-manes.versions") version "0.38.0"
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
gradlePluginPortal()
|
|
maven("https://oss.sonatype.org/content/repositories/snapshots")
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:4.2.2")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0")
|
|
classpath("com.google.gms:google-services:4.3.8")
|
|
classpath("com.google.firebase:firebase-appdistribution-gradle:2.1.3")
|
|
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.6.2.0")
|
|
classpath("com.github.triplet.gradle:play-publisher:3.5.0")
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
apply(plugin = "org.jlleitschuh.gradle.ktlint")
|
|
|
|
tasks.withType<KotlinCompile>().configureEach {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.register("clean").configure {
|
|
delete("build")
|
|
}
|
|
|
|
ktlint {
|
|
android.set(true)
|
|
}
|