mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 11:46:32 +00:00
38 lines
No EOL
1.1 KiB
Groovy
38 lines
No EOL
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.0'
|
|
ext.build_tools_version = '28.0.3'
|
|
ext.sdk_version = 28
|
|
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.2.1'
|
|
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
|
classpath 'com.google.gms:google-services:4.0.1'
|
|
classpath "io.realm:realm-gradle-plugin:5.7.0"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC4-3"
|
|
}
|
|
}
|
|
|
|
apply plugin: 'io.gitlab.arturbosch.detekt'
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
google()
|
|
}
|
|
}
|
|
|
|
detekt {
|
|
profile("main") {
|
|
input = "$projectDir/Habitica/src/main/java"
|
|
config = "$projectDir/detekt.yml"
|
|
output = "$projectDir/reports/detekt"
|
|
}
|
|
} |