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

Android 组件生成的产物中缺少 source.jar #4

Open
Heart-Beats opened this issue Nov 21, 2024 · 4 comments
Open

Android 组件生成的产物中缺少 source.jar #4

Heart-Beats opened this issue Nov 21, 2024 · 4 comments

Comments

@Heart-Beats
Copy link

如下,这个是之前上传到 MavenCentral 的产物:
image

下图是使用 medivhPublisher 生成的产物:
image

这导致在项目中使用必须添加 @aar 才可以,如: implementation "io.github.heart-beats.material-dialogs:core:3.3.1@aar"

否则就会报错:
image

但是 medivhPublisher 又不支持配置 artifact:
image

从相关的使用经验来看,既然主打 medivhPublisher 可以无缝兼容 maven-publish,是不是可以将 maven-publish 的相关配置项都移到中,即使相关默认值设置有误,也可以给使用方提供动态设置的能力,不然就只能切换为 maven-publish 进行配置了

@gongxuanzhang
Copy link
Contributor

你说的很对,本周我会完善这些功能,首先就是完全迁移这些内容,感谢你的issue.

@gongxuanzhang
Copy link
Contributor

@Heart-Beats 抱歉给你带来困扰

@Heart-Beats
Copy link
Author

没事,最近刚好修改一个开源库,想将修改后的版本发布到 MavenCentral, 结果发现中央门户没有官方支持的插件,在官方文档中看到了推荐的这款插件,对其其他的插件,发现本插件对比 maven-publish 修改最少,同时还支持默认配置,还是中国老乡开发,当然得大大支持。

@gongxuanzhang
Copy link
Contributor

感谢

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

No branches or pull requests

2 participants