mirror of
https://github.com/alibaba/GCanvas.git
synced 2025-12-08 17:36:42 +00:00
74 lines
1.9 KiB
Groovy
74 lines
1.9 KiB
Groovy
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',
|
|
]
|