Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
    DynamicFeatureVariantDimension
    
      
interface DynamicFeatureVariantDimension : VariantDimension
    
    
    Known indirect subclasses
        
      
      
     
    
    Shared properties between DSL objects that contribute to an dynamic feature variant.
    That is, DynamicFeatureBuildType and DynamicFeatureProductFlavor and DynamicFeatureDefaultConfig.
    Summary
    
      
        
          
            Inherited functions | 
          
        
        
          
            From class com.android.build.api.dsl.VariantDimension
              
                
                  
                    
                      Unit | 
                      
                        
                         Adds manifest placeholders. 
                       | 
                     
                    
                      Unit | 
                      
                        
                         Adds a new field to the generated BuildConfig class. 
                       | 
                     
                    
                      @Incubating Unit | 
                      
                        
                         Encapsulates per-variant CMake and ndk-build configurations for your external native build. 
                       | 
                     
                    
                      Unit | 
                      
                        
                         Options for configuring Java compilation. 
                       | 
                     
                    
                      Unit | 
                      
                        
                         Encapsulates per-variant configurations for the NDK, such as ABI filters. 
                       | 
                     
                    
                      @Incubating Unit | 
                      
                        
                       | 
                     
                    
                      Any | 
                      
                        
                         Adds a new ProGuard configuration file. 
                       | 
                     
                    
                      Any | 
                      
                        
                         Adds new ProGuard configuration files. 
                       | 
                     
                    
                      Unit | 
                      
                        
                         Adds a new generated resource. 
                       | 
                     
                    
                      Void? | 
                      
                        
                         This function is deprecated. Use manifestPlaceholders property instead 
                       | 
                     
                    
                      Any | 
                      
                        
                         Replaces the ProGuard configuration files. 
                       | 
                     
                    
                      Unit | 
                      
                        
                         Configure the shader compiler options. 
                       | 
                     
                    
                      Any | 
                      
                        
                         Adds a proguard rule file to be used when processing test code. 
                       | 
                     
                    
                      Any | 
                      
                        
                         Adds proguard rule files to be used when processing test code. 
                       | 
                     
                  
                 
               
             | 
          
        
      
     
    
      
        
          
            Inherited properties | 
          
        
        
          
            From class com.android.build.api.dsl.VariantDimension
              
                
                  
                    
                      ExternalNativeBuildFlags | 
                      
                        
                         Encapsulates per-variant CMake and ndk-build configurations for your external native build. 
                       | 
                     
                    
                      JavaCompileOptions | 
                      
                        
                         Options for configuring Java compilation. 
                       | 
                     
                    
                      MutableMap<String, Any> | 
                      
                        
                         The manifest placeholders. 
                       | 
                     
                    
                      File? | 
                      
                        
                         This property is deprecated. This property is deprecated. 
                       | 
                     
                    
                      File? | 
                      
                        
                         Text file with additional ProGuard rules to be used to determine which classes are compiled into the main dex file. 
                       | 
                     
                    
                      Ndk | 
                      
                        
                         Encapsulates per-variant configurations for the NDK, such as ABI filters. 
                       | 
                     
                    
                      Optimization | 
                      
                        
                       | 
                     
                    
                      MutableList<File> | 
                      
                        
                         Specifies the ProGuard configuration files that the plugin should use. 
                       | 
                     
                    
                      Shaders | 
                      
                        
                         Options for configuring the shader compiler. 
                       | 
                     
                    
                      MutableList<File> | 
                      
                        
                         The collection of proguard rule files to be used when processing test code. 
                       | 
                     
                  
                 
               
             | 
          
        
      
     
  
  
  
    
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]