under-the-hood icon indicating copy to clipboard operation
under-the-hood copied to clipboard

Issue with noop classifier in v0.7.0

Open andersu opened this issue 3 years ago • 0 comments

We tried to update to v0.7.0, but we get an issue with the noop classifier for our release build:

These are our dependencies (which works fine with 0.6.0):

// Hood
        debugApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion")
        devDeReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion")
        devNlReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion")
        tstDeReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion")
        tstNlReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion")
        acceptanceDeReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion")
        acceptanceNlReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion")

// This disables the shake gesture to get to the debug view on prod release builds
        prodDeReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion") {
            exclude group: 'at.favre.lib.hood', module: 'hood-core'
            prodDeReleaseApi(group: 'at.favre.lib.hood', name: 'hood-core', version: "$rootProject.ext.hoodVersion", classifier: 'noop', ext: 'aar', transitive: true)
        }
        prodNlReleaseApi("at.favre.lib.hood:hood-extended:$rootProject.ext.hoodVersion") {
            exclude group: 'at.favre.lib.hood', module: 'hood-core'
            prodNlReleaseApi(group: 'at.favre.lib.hood', name: 'hood-core', version: "$rootProject.ext.hoodVersion", classifier: 'noop', ext: 'aar', transitive: true)
        }

We get this error message:

Could not find hood-core-0.7.0-noop.aar (at.favre.lib.hood:hood-core:0.7.0).
Searched in the following locations:
    https://repo.maven.apache.org/maven2/at/favre/lib/hood/hood-core/0.7.0/hood-core-0.7.0-noop.aar

Did something change? As far as I can see we are doing it the way that is listed in the README.

andersu avatar Jul 10 '20 08:07 andersu