-
Notifications
You must be signed in to change notification settings - Fork 208
/
build.gradle
73 lines (67 loc) · 1.92 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
69
70
71
72
73
allprojects {
project.ext.id = "You Should Change It"
project.ext.meta = [:]
repositories {
google()
maven {
url 'https://maven.google.com/'
}
jcenter()
mavenCentral()
}
configurations {
compileProject.extendsFrom compile, archives
}
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
maven {
url 'https://maven.google.com/'
}
jcenter()
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.10'
classpath 'com.android.tools.build:gradle:3.3.0'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
rootProject.extensions.sdks = [
'Gradle' : '3.0.1',
'CompileSDK' : 28,
'BuildTool' : '28.0.3',
'MinSDK' : 16,
'TargetSDK' : 28,
'Fresco' : '1.8.0',
'Picasso' : '2.5.2',
'JUnit' : '4.12',
'Support' : '26.0.2',
'Weex' : '0.26.0',
'WeexAnnotation': '1.3',
'ReactNative' : '+',
'ABIs' : ["armeabi-v7a","arm64-v8a"],
'EXCLUDE_CPP_SHARED' : false
]
// PLEASE DO NOT MODIFY ARTIFACT IDS LIST BELOW.
// Group names
rootProject.extensions.groups = [
'Main' : 'com.taobao.gcanvas',
'Bridge' : 'com.taobao.gcanvas.bridges',
'Adapter': 'com.taobao.gcanvas.adapters',
]
// Artifact IDs
rootProject.extensions.artifacts = [
'BridgeSpec' : 'spec',
'Core' : 'gcanvas_library',
'WeexBridge' : 'weex',
'ReactNative' : 'rn',
'ImageAdapter' : 'img',
'FrescoAdapter' : 'img_fresco',
'PicassoAdapter': 'img_picasso',
]