public class AARGenerator
extends java.lang.Object
Constructor and Description |
---|
AARGenerator(java.lang.String inputProjectPath,
java.lang.String outputDirOrFilePath)
Creates an instance of AARGenerator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
createAARFile()
Creates .aar file.
|
java.lang.String |
getOutputZipFilePath()
Allows BuildToolkit CLI to get the generated .aar path.
|
public AARGenerator(java.lang.String inputProjectPath, java.lang.String outputDirOrFilePath) throws GenerateAarException
inputProjectPath
- The input project path.outputDirOrFilePath
- The output directory or file path. File name must end with .aar.GenerateAarException
- if package.xml doesn't exist, if the input project doesn't exist or if the output
filename isn't a .aar file.public boolean createAARFile() throws GenerateAarException, java.io.IOException
GenerateAarException
- if unmarshalling the package.xml file throws a JAXBException.java.io.IOException
- if an IOException is thrown.public java.lang.String getOutputZipFilePath()