forked from Tencent/tinker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
68 lines (55 loc) · 1.68 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
58
59
60
61
62
63
64
65
66
67
68
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
classpath "com.github.dcendents:android-maven-gradle-plugin:1.4.1"
}
}
allprojects {
repositories {
mavenLocal()
jcenter()
}
tasks.withType(Javadoc).all {
enabled = false
options.setEncoding('UTF-8')
}
apply plugin: 'checkstyle'
checkstyle {
configFile rootProject.file('checkstyle.xml')
toolVersion '6.19'
ignoreFailures false
showViolations true
}
task('checkstyle', type: Checkstyle) {
source 'src/main/java'
include '**/*.java'
classpath = files()
}
}
ext {
minSdkVersion = 10
compileSdkVersion = 23
targetSdkVersion = compileSdkVersion
buildToolsVersion = '23.0.2'
javaVersion = JavaVersion.VERSION_1_7
GROUP = 'com.tencent.tinker'
VERSION_NAME = "${VERSION_NAME_PREFIX}${VERSION_NAME_SUFFIX}"
POM_PACKAGING = "pom"
POM_DESCRIPTION= "tinker"
POM_URL = "https://github.com/Tencent/tinker"
POM_SCM_URL = "https://github.com/Tencent/tinker.git"
POM_ISSUE_URL = 'https://github.com/Tencent/tinker/issues'
POM_LICENCE_NAME = "BSD License"
POM_LICENCE_URL = "https://opensource.org/licenses/BSD-3-Clause"
POM_LICENCE_DIST = "repo"
POM_DEVELOPER_ID="Tencent Wechat"
POM_DEVELOPER_NAME="Tencent Wechat, Inc."
BINTRAY_LICENCE= ['BSD 3-Clause']
BINTRAY_ORGANIZATION = "tinker"
}