habitica-android/build.gradle

42 lines
1.3 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 {
2018-03-09 14:26:11 +00:00
ext.kotlin_version = '1.2.30'
2017-10-26 13:52:12 +00:00
ext.build_tools_version = '26.0.2'
2018-01-30 12:41:22 +00:00
ext.sdk_version = 27
2015-04-12 11:54:29 +00:00
repositories {
jcenter()
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 {
2017-11-27 15:36:43 +00:00
classpath 'com.android.tools.build:gradle:3.0.1'
2017-10-03 13:19:05 +00:00
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
2017-10-26 13:52:12 +00:00
classpath 'com.google.gms:google-services:3.1.1'
2017-10-03 13:19:05 +00:00
classpath "io.realm:realm-gradle-plugin:3.7.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2017-11-01 11:04:18 +00:00
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
2017-10-03 13:19:05 +00:00
classpath "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC4-3"
2015-04-12 11:54:29 +00:00
}
2017-10-03 13:19:05 +00:00
// Exclude the version that the android plugin depends on.
configurations.classpath.exclude group: 'com.android.tools.external.lombok'
2015-04-12 11:54:29 +00:00
}
2017-10-03 13:19:05 +00:00
apply plugin: 'io.gitlab.arturbosch.detekt'
allprojects {
repositories {
jcenter()
2017-10-26 13:52:12 +00:00
google()
2017-10-03 13:19:05 +00:00
}
}
detekt {
profile("main") {
input = "$projectDir/Habitica/src/main/java"
config = "$projectDir/detekt.yml"
output = "$projectDir/reports/detekt"
}
}