public ConfigurationMetadata fullBuild() { TestConfigurationMetadataAnnotationProcessor processor = new TestConfigurationMetadataAnnotationProcessor( this.compiler.getOutputLocation()); TestCompilationTask task = this.compiler.getTask(this.sourceFiles); deleteFolderContents(this.compiler.getOutputLocation()); task.call(processor); return processor.getMetadata(); }
public ConfigurationMetadata incrementalBuild(Class<?>... toRecompile) { TestConfigurationMetadataAnnotationProcessor processor = new TestConfigurationMetadataAnnotationProcessor( this.compiler.getOutputLocation()); TestCompilationTask task = this.compiler.getTask(toRecompile); task.call(processor); return processor.getMetadata(); }