我创建了一个带包装的Bintray存储库。当我发布库并从另一个项目引用它时,我可以看到我的源代码。另一方面,如果我构建了aar并将其直接导入到其他项目中,则会混淆代码。我想在jCenter中的已发布库上实现相同的效果。有可能吗?
bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
pkg {
repo = bintrayRepo
name = bintrayName
desc = libraryDescription
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = allLicenses
dryRun = false
publish = true
override = false
publicDownloadNumbers = true
version {
name = libraryVersion
desc = libraryDescription
}
}
编辑:我没有运行javadocJar和sourcesJar gradle任务