Adds proguard config.
This commit is contained in:
		| @@ -44,16 +44,16 @@ android { | ||||
|         release { | ||||
|             // Enables code shrinking, obfuscation, and optimization for only | ||||
|             // your project's release build type. | ||||
| //            minifyEnabled true | ||||
|             minifyEnabled true | ||||
|  | ||||
|             // Enables resource shrinking, which is performed by the | ||||
|             // Android Gradle plugin. | ||||
| //            shrinkResources true | ||||
|             shrinkResources true | ||||
|  | ||||
|             // Includes the default ProGuard rules files that are packaged with | ||||
|             // the Android Gradle plugin. To learn more, go to the section about | ||||
|             // R8 configuration files. | ||||
| //            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||||
|             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||||
|         } | ||||
|     } | ||||
|     compileOptions { | ||||
|   | ||||
							
								
								
									
										11
									
								
								app/proguard-rules.pro
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								app/proguard-rules.pro
									
									
									
									
										vendored
									
									
								
							| @@ -19,3 +19,14 @@ | ||||
| # If you keep the line number information, uncomment this to | ||||
| # hide the original source file name. | ||||
| #-renamesourcefileattribute SourceFile | ||||
|  | ||||
| -keep enum com.majinnaibu.monstercards.data.enums.AbilityScore | ||||
| -keep enum com.majinnaibu.monstercards.data.enums.ProficiencyType | ||||
| -keep enum com.majinnaibu.monstercards.data.enums.AdvantageType | ||||
| -keep enum com.majinnaibu.monstercards.data.enums.TraitType | ||||
| -keep enum com.majinnaibu.monstercards.data.enums.StringType | ||||
| -keepclassmembers,allowoptimization enum * { | ||||
|     <fields>; | ||||
|     public static **[] values(); | ||||
|     public static ** valueOf(java.lang.String); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user