forked from qiyei2015/EssayJoke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
53 lines (49 loc) · 1.46 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.
// 引入配置文件
apply from:"config.gradle"
buildscript {
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' // add for annotation
// //ARouter
// classpath "com.alibaba:arouter-register:1.0.2"
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
mavenLocal()
google()
maven {
url 'https://maven.google.com/'
name 'Google'
}
maven {
// All of React Native (JS, Android binaries) is installed from npm
url "$rootDir/node_modules/react-native/android"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
dependencies {
//解决 Program type already present: android.support.design.widget.CoordinatorLayout$1
// configurations {
// all*.exclude group: 'com.android.support', module: 'support-v13'
// }
}