bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 197 forks source link

Unable to publish an obfuscated aar #262

Open UgVaDevLabs opened 6 years ago

UgVaDevLabs commented 6 years ago

I have created a bintray repository that has a package in it. When I publish my library and reference it from another project I am able to see my source code. On the other hand if I build aar and import it to my other projects directly the code is obfuscated. I would like to achieve the same effect on published libraries in jCenter. Is that possible? Here is my configuration snippet:

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
    }
}

I am not running javadocJar and sourcesJar gradle tasks

Motygullin503 commented 5 years ago

Have you solved this issue? Because we also have the same problem

OmarJoya commented 2 years ago

@UgVaDevLabs @Motygullin503 did you solved it, I published an Android library to github packages, aws buckets and got the same result?