forked from didi/DoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (40 loc) · 1.57 KB
/
build.gradle
File metadata and controls
43 lines (40 loc) · 1.57 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: "config.gradle"
repositories {
google()
jcenter()
// maven { url 'http://artifactory.intra.xiaojukeji.com/artifactory/public' }
maven {
//本地插件地址
url uri(rootProject.ext.config["localRepoURL"])
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.novoda:bintray-release:0.9.2'
// classpath "com.didichuxing.doraemonkit:doraemonkit-plugin:${rootProject.ext.android["pluginVersionName"]}"
// classpath "com.didichuxing.doraemonkit:doraemonkit-plugin:3.1.8"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${rootProject.ext.android["kotlin_version"]}"
}
}
allprojects {
repositories {
google()
jcenter()
// maven { url 'http://artifactory.intra.xiaojukeji.com/artifactory/public' }
maven {
//本地插件地址
url uri(rootProject.ext.config["localRepoURL"])
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//解决打包时由于javadocRelease校验引起的打包失败
//tasks.getByPath(":doraemonkit:javadocRelease").enabled = false
//tasks.getByPath(":doraemonkit-no-op:javadocRelease").enabled = false
//tasks.getByPath(":doraemonkit-leakcanary:javadocRelease").enabled = false
//tasks.getByPath(":doraemonkit-weex:javadocRelease").enabled = false
//tasks.getByPath(":doraemonkit-rpc:javadocRelease").enabled = false