-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (53 loc) · 1.98 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.5.0"
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath ("com.tencent.matrix:matrix-gradle-plugin:${MATRIX_VERSION}") { changing = true }
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
}
}
ext {
// For android sub-projects
minSdkVersion = 19
targetSdkVersion = 29
compileSdkVersion = 29
buildToolsVersion = '29.0.2'
MIN_SDK_VERSION_FOR_HOOK = 21
VERSION_CODE = 1
javaVersion = JavaVersion.VERSION_1_8
GROUP = 'com.tencent.matrix'
VERSION_NAME = "1.0.0"
POM_PACKAGING = "pom"
POM_NAME = "Matrix for Android"
POM_DESCRIPTION = "Matrix is an APM (Application Performance Manage) used in Wechat to monitor, locate and analyse performance problems. It is a plugin style, non-invasive solution and is currently available on iOS, macOS and Android."
POM_URL = "https://github.com/Tencent/Matrix"
POM_SCM_URL = "https://github.com/Tencent/Matrix.git"
POM_SCM_COMMIT = ""
POM_ISSUE_URL = 'https://github.com/Tencent/Matrix/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 = "matrix"
ABI_FILTERS = ['armeabi-v7a', 'arm64-v8a']
LOGGER_VERSION = 1.1 // fixme logger
}
task clean(type: Delete) {
delete rootProject.buildDir
}