android.databinding.tool
Class DataBindingBuilder
java.lang.Object
android.databinding.tool.DataBindingBuilder
public class DataBindingBuilder
- extends java.lang.Object
This class is used by Android Gradle plugin.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataBindingBuilder
public DataBindingBuilder()
getCompilerVersion
public java.lang.String getCompilerVersion()
getBaseLibraryVersion
public java.lang.String getBaseLibraryVersion(java.lang.String compilerVersion)
getLibraryVersion
public java.lang.String getLibraryVersion(java.lang.String compilerVersion)
getBaseAdaptersVersion
public java.lang.String getBaseAdaptersVersion(java.lang.String compilerVersion)
setPrintMachineReadableOutput
public void setPrintMachineReadableOutput(boolean machineReadableOutput)
getPrintMachineReadableOutput
public boolean getPrintMachineReadableOutput()
setDebugLogEnabled
public void setDebugLogEnabled(boolean enableDebugLogs)
isDebugLogEnabled
public boolean isDebugLogEnabled()
getJarExcludeList
public java.util.List<java.lang.String> getJarExcludeList(LayoutXmlProcessor layoutXmlProcessor,
java.io.File generatedClassListFile)
- Returns the list of classes that should be excluded from package task
- Parameters:
layoutXmlProcessor
- The LayoutXmlProcessor for this variantgeneratedClassListFile
- The location of the File into which data binding compiler wrote
list of generated classes
- Returns:
- The list of classes to exclude. They are already in JNI format.
createJavaFileWriter
public JavaFileWriter createJavaFileWriter(java.io.File outFolder)