Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add namespace in build.gradle #112

Closed
wants to merge 2 commits into from
Closed

Conversation

chenxin0916
Copy link

No description provided.

@IoTServ
Copy link

IoTServ commented Nov 18, 2024

这个不加一下不行,参考RxReader/wechat_kit#149 ,近期会加一下吗?

@creeponsky
Copy link

这个不加一下不行,参考RxReader/wechat_kit#149 ,近期会加一下吗?

先和我一样手动加吧,你应该是写错了
if (project.android.hasProperty("namespace")) {
namespace 'io.github.v7lin.tencent_kit'
}

@sinyu1012
Copy link
Contributor

#117 (comment)

android 文件夹 根目录下的 build.gradle 添加以下代码:

subprojects {
project.evaluationDependsOn(":app")
if (project.name == "tencent_kit") {
apply plugin: 'com.android.library'
project.android.namespace = 'io.github.v7lin.tencent_kit'
}
}
或者等我的 PR 合进来:#119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants