Skip to content

Commit

Permalink
override path for custom proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
kevlahnota authored Sep 26, 2024
1 parent b36d05b commit 41bbf85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>com.simpligility.maven.plugins</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>4.6.1</version>
<version>4.6.2</version>
<packaging>maven-plugin</packaging>

<name>Android Maven Plugin - android-maven-plugin</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.simpligility.maven.plugins.android.configuration.Proguard;

import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.SystemUtils;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.plugin.MojoExecutionException;
Expand Down Expand Up @@ -763,6 +764,10 @@ private List< ProGuardInput > getLibraryInputFiles()
@SuppressWarnings( "unused" ) // NB Used to populate the parsedProguardJarPath attribute via reflection.
private String getProguardJarPath() throws MojoExecutionException
{
if ( !StringUtils.isEmpty( proguardProguardJarPath ) )
{
return proguardProguardJarPath;
}
return getProguardJarPathFromDependencies();
}

Expand Down

0 comments on commit 41bbf85

Please sign in to comment.