abstract class AbstractTransformContext : TransformContext
<init> |
AbstractTransformContext(applicationId: String, name: String, bootClasspath: Collection<File>, compileClasspath: Collection<File> = emptyList(), runtimeClasspath: Collection<File> = emptyList(), bootKlassPool: KlassPool = makeKlassPool(bootClasspath)) |
applicationId |
The application identifier val applicationId: String |
artifacts |
The artifact manager open val artifacts: ArtifactManager |
bootClasspath |
The boot classpath val bootClasspath: Collection<File> |
bootKlassPool |
val bootKlassPool: KlassPool |
buildDir |
The build directory open val buildDir: File |
collectors |
val collectors: CopyOnWriteArrayList<Collector<*>> |
compileClasspath |
The compile classpath val compileClasspath: Collection<File> |
dependencies |
The original dependencies, may be same to compileClasspath open val dependencies: Collection<String> |
isDataBindingEnabled |
is dataBinding enabled or not open val isDataBindingEnabled: Boolean |
isDebuggable |
The buildType is debuggable open val isDebuggable: Boolean |
klassPool |
The class pool open val klassPool: AbstractKlassPool |
name |
The name of transform val name: String |
originalApplicationId |
The original application ID before any overrides from flavors open val originalApplicationId: String |
projectDir |
The project directory open val projectDir: File |
reportsDir |
The reports directory open val reportsDir: File |
runtimeClasspath |
The runtime classpath val runtimeClasspath: Collection<File> |
temporaryDir |
The temporary directory open val temporaryDir: File |
hasProperty |
Check if has the specified property. Generally, the property is equivalent to project property open fun hasProperty(name: String): Boolean |
registerCollector |
open fun <R> registerCollector(collector: Collector<R>): Unit |
unregisterCollector |
open fun <R> unregisterCollector(collector: Collector<R>): Unit |
collect |
fun AbstractTransformContext.collect(): List<*> fun <R> TransformContext.collect(collector: Collector<R>): List<R> |