Package: com.android.build.gradle.tasks

[Groovy] Class ShrinkResources

    • Properties Summary

        Properties 
        Type Name and description
        java.io.File  compressedResources
        java.io.File  uncompressedResources
    • Methods Summary

        Methods 
        Type Name and description
        void shrink()
    • Field Detail

      • public BaseVariantOutputData variantOutputData

        Associated variant data that the strip task will be run against. Used to locate not only locations the task needs (e.g. for resources and generated R classes) but also to obtain the resource merging task, since we will run it a second time here to generate a new .ap_ file with fewer resources

    • Property Detail

      • @OutputFile java.io.File compressedResources

      • @InputFile java.io.File uncompressedResources

    • Method Detail

      • @java.lang.SuppressWarnings("GroovyUnusedDeclaration") @TaskAction void shrink()