Removed passing incremental cache base dir via module script.
Original commit: 184ddbc9e1
This commit is contained in:
+1
-5
@@ -62,7 +62,7 @@ public class KotlinBuilderModuleScriptGenerator {
|
|||||||
)
|
)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
KotlinModuleDescriptionBuilder builder = FACTORY.create(getIncrementalCacheDir(context).getAbsolutePath());
|
KotlinModuleDescriptionBuilder builder = FACTORY.create();
|
||||||
|
|
||||||
boolean noSources = true;
|
boolean noSources = true;
|
||||||
|
|
||||||
@@ -107,10 +107,6 @@ public class KotlinBuilderModuleScriptGenerator {
|
|||||||
return scriptFile;
|
return scriptFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static File getIncrementalCacheDir(CompileContext context) {
|
|
||||||
return new File(context.getProjectDescriptor().dataManager.getDataPaths().getDataStorageRoot(), "kotlin");
|
|
||||||
}
|
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private static File getOutputDir(@NotNull ModuleBuildTarget target) {
|
private static File getOutputDir(@NotNull ModuleBuildTarget target) {
|
||||||
File outputDir = target.getOutputDir();
|
File outputDir = target.getOutputDir();
|
||||||
|
|||||||
Reference in New Issue
Block a user