-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
兼容 Gradle 4.4 + Android Gradle Plugin 3.0.x/3.1.x (#13)
* feat(plugin-gradle): 支持 Gradle 4.4 + AGP 3.1.4 *** BREAKING CHANGE *** implementation 依赖不是传递的,excludeLib 配置不能如之前的版本一样 剔除所有依赖的包 例如:只剔除 support-v4 无法剔除其依赖的其它包,需要一一列出来 excludeLib "com.android.support:support-v4:${androidVersion.supportLib}" excludeLib "com.android.support:support-core-ui:${androidVersion.supportLib}" excludeLib "com.android.support:support-compat:${androidVersion.supportLib}" excludeLib "com.android.support:support-media-compat:${androidVersion.supportLib}" excludeLib "com.android.support:support-core-utils:${androidVersion.supportLib}" excludeLib "com.android.support:support-fragment:${androidVersion.supportLib}" excludeLib "com.android.support:versionedparcelable:${androidVersion.supportLib}" excludeLib "android.arch.lifecycle:runtime:${androidVersion.archLib}" excludeLib "android.arch.lifecycle:common:${androidVersion.archLib}" excludeLib "android.arch.core:common:${androidVersion.archLib}" * feat(host-gradle): 支持 Gradle 4.4 + AGP 3.1.4 同时兼容 - Gradle 3.3 + AGP 2.3.3 - Gradle 4.4 + AGP 3.0.x 修改内容: host-gradle 插件生成宿主依赖的 maven 库清单 * fix(plugin-view): crash when show notification the small icon resource id should be placed in host * fix(plugin-gradle): 生成的依赖描述文件为空 * fix(plugin-gradle): 剔除第三方依赖库失效 * chore: 注释开发调试时使用的 mavenLocal 仓库 * doc: 添加 CHANGELOG.md 文档 增加 release notes 文档 * fix: javadoc issue when publish to bintray
- Loading branch information
1 parent
363c059
commit 1f027f5
Showing
37 changed files
with
1,998 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
# v3.1.2 @2019-01-14 | ||
|
||
## Features | ||
|
||
- 兼容 Gradle 4.4 + Android Gradle Plugin 3.0.x/3.1.x | ||
|
||
## Behavior Changes | ||
|
||
- Gradle 4.x + Android Gradle Plugin 3.x | ||
- 编译插件使用的 phantom-plugin-gradle gradle 插件提供的剔除公共库功能 `excludeLib` **不会**自动剔除指定库依赖的其它库,需要单独配 | ||
置。详见 [phantom-sample/plugin-component/build.gradle](phantom-sample/plugin-component/build.gradle)中对 `support-v4` | ||
库及其依赖库的 `excludeLib` 配置 | ||
- Gradle 3.3 + Android Gradle Plugin 2.3.3 | ||
- 编译插件使用的 phantom-plugin-gradle gradle 插件提供的剔除公共库功能 `excludeLib` **会**自动将指定库及其依赖的其它库全部剔除。 | ||
|
||
## Build Changes | ||
|
||
- 升级到 Gradle 4.4 + Android Gradle Plugin 3.1.4 | ||
|
||
# v3.0.0 @2018-10-22 | ||
|
||
初始版本发布,详细说明见 [README](README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#android.enableAapt2=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.