-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·43 lines (32 loc) · 1.11 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
buildscript {
ext.kotlin_version = '1.3.50'
apply from: "./gradle/version/version.gradle"
repositories {
google()
jcenter()
maven {
url '/Users/tangpeng.yang/workspace/lonelysword/repo'
}
}
dependencies {
classpath deps.android.gradlePlugin
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0'
classpath 'com.timper:lonelysword-plugin:2.0.8'
classpath deps.aspectj.aspectjtools
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}
//防止兼容包版本不一致
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex')) {
details.useVersion "${versions.supportLibrary}"
}
}
}
}
apply from: './gradle/common/common.gradle'