forked from masilv4/ar-localizer-view-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (66 loc) · 2.14 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
kotlin : '1.3.72',
buildTools: '30.0.0',
minSdk : 21,
compileSdk: 30,
targetSdk: 30
]
repositories {
jcenter()
mavenCentral()
mavenLocal()
google()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.6"
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.15.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.22.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "1.0.1"
}
allprojects {
repositories {
maven { url 'https://dl.bintray.com/netguru/maven/' }
jcenter()
mavenCentral()
google()
maven { url "https://jitpack.io" }
maven { url "https://clojars.org/repo/" }
maven { url "https://maven.fabric.io/public" }
}
}
tasks.register('detektAll', io.gitlab.arturbosch.detekt.Detekt) {
description = "Runs detekt analysis over whole code base without the starting overhead for each module."
parallel = true
config = files("$rootDir/default-detekt-config.yml")
setSource(files(projectDir))
include("**/*.kt")
include("**/*.kts")
exclude("**/resources/**")
exclude("**/build/**")
reports {
xml.enabled = true
html.enabled = false
txt.enabled = false
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
allprojects {
tasks.withType(Javadoc) {
excludes = ['**/*.kt'] // < ---- Exclude all kotlin files from javadoc file.
}
}
apply from: 'buildsystem/dependencies.gradle'
apply from: 'buildsystem/bitrise.gradle'
apply from: 'buildsystem/secrets.gradle'