-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (49 loc) · 1.69 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
buildscript {
ext.gradle_plugin_version = '3.6.0-beta01'
ext.android_apt_version = '1.8'
ext.butterknife_version = '10.0.0'
apply from: './gradle/deps_config.gradle'
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// classpath "com.neenbedankt.gradle.plugins:android-apt:$android_apt_version"
// classpath "io.realm:realm-gradle-plugin:3.4.0"
// classpath 'com.tencent.mm:AndResGuard-gradle-plugin:1.2.3'
// classpath "com.tencent.bugly:tinker-support:1.1.1"
// classpath "com.jakewharton:butterknife-gradle-plugin:$butterknife_version"
// classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
// Force all of the primary support libraries to use the same version.
configurations.all {
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == 'com.android.support' && !details.requested.name.contains('multidex')) {
details.useVersion support_version
}
if (details.requested.group == 'android.arch.lifecycle') {
details.useVersion lifecycle_version
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects {
task allDeps(type: DependencyReportTask) {}
}