habitica-android/build.gradle

50 lines
1.5 KiB
Groovy
Raw Normal View History

2015-04-12 11:54:29 +00:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
2022-01-06 12:36:08 +00:00
ext.kotlin_version = '1.6.10'
2015-04-12 11:54:29 +00:00
repositories {
2017-10-26 13:52:12 +00:00
google()
2017-10-03 13:19:05 +00:00
maven { url "https://plugins.gradle.org/m2/" }
2015-04-12 11:54:29 +00:00
}
dependencies {
2022-02-07 20:16:52 +00:00
classpath 'com.android.tools.build:gradle:7.1.0'
2017-10-03 13:19:05 +00:00
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
2021-09-14 07:54:08 +00:00
classpath 'com.google.gms:google-services:4.3.10'
2021-12-09 14:52:33 +00:00
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
2021-11-19 10:42:49 +00:00
classpath "io.realm:realm-gradle-plugin:10.8.1"
2017-10-03 13:19:05 +00:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2022-01-06 12:36:08 +00:00
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0"
2022-02-07 20:16:52 +00:00
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.0-alpha01"
classpath 'com.google.firebase:perf-plugin:1.4.1'
2015-04-12 11:54:29 +00:00
}
}
2017-10-03 13:19:05 +00:00
apply plugin: 'io.gitlab.arturbosch.detekt'
allprojects {
repositories {
2017-10-26 13:52:12 +00:00
google()
jcenter()
2017-10-03 13:19:05 +00:00
}
}
detekt {
input = files("Habitica/src/main/java")
config = files("detekt.yml")
2021-09-14 11:41:33 +00:00
baseline = file("${rootProject.projectDir}/detekt_baseline.xml")
reports {
xml {
2021-09-14 12:13:56 +00:00
enabled = true
destination = file("build/reports/detekt.xml")
}
html {
2021-09-14 12:13:56 +00:00
enabled = true
destination = file("build/reports/detekt.html")
}
2021-09-14 12:08:37 +00:00
sarif {
2021-09-14 12:13:56 +00:00
enabled = true
destination = file("build/reports/detekt.sarif")
}
}
}