-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathbuild.gradle
47 lines (42 loc) · 1.22 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "version.gradle"
buildscript {
ext.kotlin_version = '1.3.31'
ext.component_version = '2.1.9'
repositories {
// maven {
// url 'file:\\C:\\Android\\gradle\\m2repository'
// }
maven {
url "https://plugins.gradle.org/m2/"
}
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'
classpath "gradle.plugin.com.google.protobuf:protobuf-gradle-plugin:0.8.8"
classpath 'com.dhc.component:component-plugin:1.0.5'
classpath 'com.novoda:bintray-release:0.9.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
maven {
url "https://plugins.gradle.org/m2/"
}
google()
}
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}