forked from rtr-nettest/open-rmbt-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (44 loc) · 1.21 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: "$project.rootDir/dependencies.gradle"
apply from: "$project.rootDir/tools/utils.gradle"
ext {
kotlin_version = '1.4.31'
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url "https://maven.google.com" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
applyDependencies({ this })
}
}
plugins {
id 'io.gitlab.arturbosch.detekt' version '1.0.1'
id 'org.jetbrains.dokka' version '0.10.0'
}
allprojects {
repositories {
jcenter()
google()
maven {
url 'https://maven.google.com'
}
maven { url "https://jitpack.io" }
}
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply from: "$project.rootDir/tools/dokka.gradle"