This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 864
Conversation
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
mcxiaoke
reviewed
Nov 20, 2017
# header note. | ||
#Sun Nov 19 00:58:53 CST 2017 | ||
ndk.dir=/Users/cenxiaozhong/Library/Android/sdk/ndk-bundle | ||
sdk.dir=/Users/cenxiaozhong/Library/Android/sdk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件不要提交上来
mcxiaoke
reviewed
Nov 20, 2017
// snapshotRepository(url: getSnapshotRepositoryUrl()) { | ||
// authentication(userName: getRepositoryUsername(), password: getRepositoryPassword()) | ||
// } | ||
repository(url: uri('../tmp/repo/')) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件部署用的,不能改动
mcxiaoke
reviewed
Nov 20, 2017
repositories { | ||
maven { url '/tmp/repo/' } | ||
maven { url '../tmp/repo/' } | ||
jcenter() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还有这里
@Justson 如果多个flavor的channels是一样的,不用多个文件,可以这样写: channelMap = [
"free" : project.rootProject.file("channels.txt"),
"paid" : project.rootProject.file("channels.txt"),
"other": project.rootProject.file("channels.txt")
] |
@mcxiaoke 是的 , |
冲突,重新提吧 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
新增了
flavorMapChannel
打包方式。flavorMapChannel
打包结果和channelMap
是一样的 。虽然多个 flavor 打包需求少 , 但是遇上多
flavor
, 少channel
的时候 ,channelMap
那么就需要建立多个channels
文件 ,flavorMapChannel
允许在 gradle 里面指定channel list
解决了该问题。