Krishnan V S
Krishnan V S

Reputation: 1166

How to exclude certain modules from a support library?

Please let me know how to specify the exclude to remove modules like "fingerprint". I have tried using exclude group: 'android.hardware', module: 'fingerprint' but did not work. Appreciate your help.

<root>: 45486
    <default>: 1
    android: 23585
        accessibilityservice: 7
        accounts: 6
        animation: 64
        app: 365
        bluetooth: 6
        content: 356
            pm: 31
            res: 101
        database: 66
            sqlite: 10
        graphics: 352
            drawable: 123
                shapes: 3
            pdf: 3
        hardware: 20
            display: 3
            fingerprint: 11
        location: 12
        media: 287
            audiofx: 8
            browse: 19
            session: 92
        net: 68
            http: 1
            wifi: 12
        opengl: 40

Upvotes: 1

Views: 2250

Answers (1)

Rudresh
Rudresh

Reputation: 751

In gradle file

dependencies {
compile('gradle dependency name') {
    exclude module: 'module name'
}

}

Upvotes: 2

Related Questions