mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
51 lines
No EOL
1.5 KiB
Groovy
51 lines
No EOL
1.5 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.5.31'
|
|
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.0.3'
|
|
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
|
classpath 'com.google.gms:google-services:4.3.10'
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.0'
|
|
classpath "io.realm:realm-gradle-plugin:10.8.1"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.18.1"
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5"
|
|
classpath 'com.google.firebase:perf-plugin:1.4.0'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'io.gitlab.arturbosch.detekt'
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
detekt {
|
|
input = files("Habitica/src/main/java")
|
|
config = files("detekt.yml")
|
|
baseline = file("${rootProject.projectDir}/detekt_baseline.xml")
|
|
reports {
|
|
xml {
|
|
enabled = true
|
|
destination = file("build/reports/detekt.xml")
|
|
}
|
|
html {
|
|
enabled = true
|
|
destination = file("build/reports/detekt.html")
|
|
}
|
|
sarif {
|
|
enabled = true
|
|
destination = file("build/reports/detekt.sarif")
|
|
}
|
|
}
|
|
} |