com.simpligility.maven.plugins.android.phase08preparepackage.DexCompiler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-maven-plugin Show documentation
Show all versions of android-maven-plugin Show documentation
Maven Plugin for Android Development
The newest version!
package com.simpligility.maven.plugins.android.phase08preparepackage;
/**
* Which compiler to use to dex the classes.
*/
public enum DexCompiler
{
DEX, // Default
D8;
public static DexCompiler valueOfIgnoreCase( String name )
{
for ( DexCompiler dexCompiler : DexCompiler.values() )
{
if ( dexCompiler.name().equalsIgnoreCase( name ) )
{
return dexCompiler;
}
}
throw new IllegalArgumentException(
"No enum constant " + DexCompiler.class.getCanonicalName() + "." + name );
}
}