public final class UnpackedLibHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AAR_NATIVE_LIBRARIES_FOLDER |
static String |
APKLIB_NATIVE_LIBRARIES_FOLDER |
Constructor and Description |
---|
UnpackedLibHelper(ArtifactResolverHelper artifactResolverHelper,
org.apache.maven.project.MavenProject project,
org.codehaus.plexus.logging.Logger log,
File unpackedLibsFolder) |
Modifier and Type | Method and Description |
---|---|
void |
extractAarLib(org.apache.maven.artifact.Artifact aarArtifact) |
void |
extractApklib(org.apache.maven.artifact.Artifact apklibArtifact) |
File |
getArtifactToFile(org.apache.maven.artifact.Artifact artifact) |
File |
getJarFileForApk(org.apache.maven.artifact.Artifact artifact) |
File |
getUnpackedApkLibSourceFolder(org.apache.maven.artifact.Artifact artifact) |
File |
getUnpackedClassesJar(org.apache.maven.artifact.Artifact artifact) |
File |
getUnpackedLibAssetsFolder(org.apache.maven.artifact.Artifact artifact) |
File |
getUnpackedLibFolder(org.apache.maven.artifact.Artifact artifact) |
File |
getUnpackedLibNativesFolder(org.apache.maven.artifact.Artifact artifact) |
File |
getUnpackedLibResourceFolder(org.apache.maven.artifact.Artifact artifact) |
File |
getUnpackedLibsFolder() |
boolean |
isAPKBuild(org.apache.maven.project.MavenProject project) |
public static final String AAR_NATIVE_LIBRARIES_FOLDER
public static final String APKLIB_NATIVE_LIBRARIES_FOLDER
public UnpackedLibHelper(ArtifactResolverHelper artifactResolverHelper, org.apache.maven.project.MavenProject project, org.codehaus.plexus.logging.Logger log, File unpackedLibsFolder)
public void extractApklib(org.apache.maven.artifact.Artifact apklibArtifact) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void extractAarLib(org.apache.maven.artifact.Artifact aarArtifact) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public File getArtifactToFile(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public File getUnpackedLibsFolder()
public File getUnpackedLibFolder(org.apache.maven.artifact.Artifact artifact)
public File getUnpackedClassesJar(org.apache.maven.artifact.Artifact artifact)
public File getUnpackedApkLibSourceFolder(org.apache.maven.artifact.Artifact artifact)
public File getUnpackedLibResourceFolder(org.apache.maven.artifact.Artifact artifact)
public File getUnpackedLibAssetsFolder(org.apache.maven.artifact.Artifact artifact)
public File getUnpackedLibNativesFolder(org.apache.maven.artifact.Artifact artifact)
artifact
- Android dependency that is being referenced.http://tools.android.com/tech-docs/new-build-system/aar-format
public File getJarFileForApk(org.apache.maven.artifact.Artifact artifact)
public boolean isAPKBuild(org.apache.maven.project.MavenProject project)
Copyright © 2014–2016 simpligility technologies inc.. All rights reserved.