代码拉取完成,页面将自动刷新
同步操作将从 腾讯开源/Shadow 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
rootProject.name = 'shadow'
if (!System.getenv().containsKey("ANDROID_HOME")) {
throw new RuntimeException("未定义ANDROID_HOME环境变量。" +
"原因:Android Studio目前不支持自动为复合构建中的子构建自动创建local.properties文件。" +
"注意:新增环境变量后,一般不会立即生效,最简单的办法是重启电脑。")
}
includeBuild 'projects/sdk/coding'
includeBuild 'projects/sdk/core'
includeBuild 'projects/sdk/dynamic'
includeTest()
includeSample()
includeSampleDynamicApk()
def includeTest() {
include 'test-dynamic-host',
'test-dynamic-manager',
'test-dynamic-loader',
'test-dynamic-runtime',
'constant',
'custom-view',
'plugin-use-host-code-lib',
'test-manager',
'general-cases-lib',
'test-plugin-general-cases',
'general-cases-app',
'androidx-cases-lib',
'androidx-cases-app',
'test-plugin-androidx-cases',
'test-multidex-lib',
'test-plugin-multidex-v1_0_2',
'test-plugin-multidex-v2_0_1',
'plugin-service-for-host',
'test_third-party-transform_androidx',
'test-none-dynamic-host'
project(':test-dynamic-host').projectDir = file('projects/test/dynamic/host/test-dynamic-host')
project(':test-dynamic-manager').projectDir = file('projects/test/dynamic/manager/test-dynamic-manager')
project(':test-dynamic-loader').projectDir = file('projects/test/dynamic/plugin/test-dynamic-loader')
project(':test-dynamic-runtime').projectDir = file('projects/test/dynamic/plugin/test-dynamic-runtime')
project(':constant').projectDir = file('projects/test/lib/constant')
project(':custom-view').projectDir = file('projects/test/lib/custom-view')
project(':plugin-use-host-code-lib').projectDir = file('projects/test/lib/plugin-use-host-code-lib')
project(':test-manager').projectDir = file('projects/test/lib/test-manager')
project(':general-cases-lib').projectDir = file('projects/test/plugin/general-cases/general-cases-lib')
project(':androidx-cases-lib').projectDir = file('projects/test/plugin/androidx-cases/androidx-cases-lib')
project(':androidx-cases-app').projectDir = file('projects/test/plugin/androidx-cases/androidx-cases-app')
project(':test-plugin-androidx-cases').projectDir = file('projects/test/plugin/androidx-cases/test-plugin-androidx-cases')
project(':test-plugin-general-cases').projectDir = file('projects/test/plugin/general-cases/test-plugin-general-cases')
project(':general-cases-app').projectDir = file('projects/test/plugin/general-cases/general-cases-app')
project(':test-multidex-lib').projectDir = file('projects/test/plugin/particular-cases/multidex/test-multidex-lib')
project(':test-plugin-multidex-v1_0_2').projectDir = file('projects/test/plugin/particular-cases/multidex/test-plugin-multidex-v1_0_2')
project(':test-plugin-multidex-v2_0_1').projectDir = file('projects/test/plugin/particular-cases/multidex/test-plugin-multidex-v2_0_1')
project(':plugin-service-for-host').projectDir = file('projects/test/plugin/particular-cases/plugin-service-for-host')
project(':test-none-dynamic-host').projectDir = file('projects/test/none-dynamic/host/test-none-dynamic-host')
project(':test_third-party-transform_androidx').projectDir = file('projects/test/third-party-transform/androidx')
}
def includeSample() {
include 'sample-constant',
'sample-host',
'sample-host-lib',
'sample-manager',
'sample-loader',
'sample-runtime',
'pinnedheaderexpandablelistview',
'slidingmenu',
'sample-app-lib',
'sample-normal-app',
'sample-plugin-app'
project(':sample-constant').projectDir = file('projects/sample/source/sample-constant')
project(':sample-host').projectDir = file('projects/sample/source/sample-host')
project(':sample-host-lib').projectDir = file('projects/sample/source/sample-host-lib')
project(':sample-manager').projectDir = file('projects/sample/source/sample-manager')
project(':sample-loader').projectDir = file('projects/sample/source/sample-plugin/sample-loader')
project(':sample-runtime').projectDir = file('projects/sample/source/sample-plugin/sample-runtime')
project(':pinnedheaderexpandablelistview').projectDir = file('projects/sample/source/sample-plugin/third-party/pinnedheaderexpandablelistview')
project(':slidingmenu').projectDir = file('projects/sample/source/sample-plugin/third-party/slidingmenu')
project(':sample-app-lib').projectDir = file('projects/sample/source/sample-plugin/sample-app-lib')
project(':sample-normal-app').projectDir = file('projects/sample/source/sample-plugin/sample-normal-app')
project(':sample-plugin-app').projectDir = file('projects/sample/source/sample-plugin/sample-plugin-app')
}
def includeSampleDynamicApk() {
include 'sample-hello-api',
'sample-hello-api-holder',
'sample-hello-apk',
'sample-hello-host'
project(':sample-hello-api').projectDir = file('projects/sample/dynamic-apk/sample-hello-api')
project(':sample-hello-api-holder').projectDir = file('projects/sample/dynamic-apk/sample-hello-api-holder')
project(':sample-hello-apk').projectDir = file('projects/sample/dynamic-apk/sample-hello-apk')
project(':sample-hello-host').projectDir = file('projects/sample/dynamic-apk/sample-hello-host')
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。