forked from alibaba/atlas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (33 loc) · 931 Bytes
/
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
buildscript {
repositories {
//本地库,local repository(${user.home}/.m2/repository)
mavenLocal()
jcenter()
}
dependencies {
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
//引入其他的插件
}
}
description = """atlas gradle plugin"""
task wrapper(type: Wrapper) {
gradleVersion = '2.12'
distributionUrl = 'http://services.gradle.org/distributions/gradle-2.12-all.zip'
}
subprojects{
if (!project.getBuildFile().exists()){
return ;
}
repositories {
//本地库,local repository(${user.home}/.m2/repository)
mavenLocal()
jcenter()
}
group = 'com.taobao.android'
version = '1.0.10.4'
tasks.withType(JavaCompile) {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}