Writing incrementalCache attribute to <modules> element of xml module script
Original commit: f6129732a2
This commit is contained in:
+1
-2
@@ -64,7 +64,7 @@ public class KotlinBuilderModuleScriptGenerator {
|
|||||||
)
|
)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
KotlinModuleDescriptionBuilder builder = FACTORY.create();
|
KotlinModuleDescriptionBuilder builder = FACTORY.create(getIncrementalCacheDir(context).getAbsolutePath());
|
||||||
|
|
||||||
boolean noSources = true;
|
boolean noSources = true;
|
||||||
|
|
||||||
@@ -91,7 +91,6 @@ public class KotlinBuilderModuleScriptGenerator {
|
|||||||
builder.addModule(
|
builder.addModule(
|
||||||
target.getId(),
|
target.getId(),
|
||||||
outputDir.getAbsolutePath(),
|
outputDir.getAbsolutePath(),
|
||||||
getIncrementalCacheDir(context).getAbsolutePath(),
|
|
||||||
getKotlinModuleDependencies(context, target),
|
getKotlinModuleDependencies(context, target),
|
||||||
sourceFiles,
|
sourceFiles,
|
||||||
target.isTests(),
|
target.isTests(),
|
||||||
|
|||||||
Reference in New Issue
Block a user