我有一个关于GitHub OmegaIntentBuilder的项目。此外,我在jitpack.io上使用这个项目创建了库。
dependencies {
compile 'com.github.Omega-R:OmegaIntentBuilder:0.0.5'
}图书馆的工作,我可以导入它没有任何问题。但是现在我已经创建了两个带有代码生成的java子模块(“注释”、“处理器”)。
compile project(':annotations')
annotationProcessor project(':processor') 如何将这些子模块导入jitpack ??我是说我想这样用它
compile 'com.github.Omega-R:OmegaIntentBuilder.annotations:0.0.5'
annotationProcessor 'com.github.Omega-R:OmegaIntentBuilder.processor:0.0.5'我怎么能这么做?
发布于 2017-12-29 14:43:51
下面是一个演示如何做到这一点的示例:https://github.com/jitpack/gradle-modular
要单独安装每个模块,请使用
groupId:com.github.User.Repoartifact id:module namehttps://stackoverflow.com/questions/48024138
复制相似问题