throw new UnsupportedOperationException();
}
@TaskAction
public void compile(IncrementalTaskInputs inputs) {
NativeCompileSpec spec = new DefaultWindowsResourceCompileSpec();
spec.setTempDir(getTemporaryDir());
spec.setObjectFileDir(getOutputDir());
spec.include(getIncludes());
spec.source(getSource());
spec.setMacros(getMacros());
spec.args(getCompilerArgs());
spec.setIncrementalCompile(inputs.isIncremental());
PlatformToolProvider platformToolProvider = toolChain.select(targetPlatform);
WorkResult result = getIncrementalCompilerBuilder().createIncrementalCompiler(this, platformToolProvider.newCompiler(spec), toolChain).execute(spec);
setDidWork(result.getDidWork());
}