[Gradle] Removed using deprecated buildDir in GradleKotlinCompilerRunner
^KT-62527
This commit is contained in:
committed by
Space Team
parent
0a57c661fd
commit
eb69229b8f
+3
-3
@@ -340,7 +340,7 @@ internal open class GradleCompilerRunner(
|
|||||||
val module = IncrementalModuleEntry(
|
val module = IncrementalModuleEntry(
|
||||||
project.path,
|
project.path,
|
||||||
task.ownModuleName.get(),
|
task.ownModuleName.get(),
|
||||||
project.buildDir,
|
project.layout.buildDirectory.get().asFile,
|
||||||
task.buildHistoryFile.get().asFile,
|
task.buildHistoryFile.get().asFile,
|
||||||
task.abiSnapshotFile.get().asFile
|
task.abiSnapshotFile.get().asFile
|
||||||
)
|
)
|
||||||
@@ -375,7 +375,7 @@ internal open class GradleCompilerRunner(
|
|||||||
val module = IncrementalModuleEntry(
|
val module = IncrementalModuleEntry(
|
||||||
project.path,
|
project.path,
|
||||||
kotlinTask.ownModuleName.get(),
|
kotlinTask.ownModuleName.get(),
|
||||||
project.buildDir,
|
project.layout.buildDirectory.get().asFile,
|
||||||
kotlinTask.buildHistoryFile.get().asFile,
|
kotlinTask.buildHistoryFile.get().asFile,
|
||||||
kotlinTask.abiSnapshotFile.get().asFile
|
kotlinTask.abiSnapshotFile.get().asFile
|
||||||
)
|
)
|
||||||
@@ -395,7 +395,7 @@ internal open class GradleCompilerRunner(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return IncrementalModuleInfo(
|
return IncrementalModuleInfo(
|
||||||
rootProjectBuildDir = gradle.rootProject.buildDir,
|
rootProjectBuildDir = gradle.rootProject.layout.buildDirectory.get().asFile,
|
||||||
dirToModule = dirToModule,
|
dirToModule = dirToModule,
|
||||||
nameToModules = nameToModules,
|
nameToModules = nameToModules,
|
||||||
jarToClassListFile = jarToClassListFile,
|
jarToClassListFile = jarToClassListFile,
|
||||||
|
|||||||
Reference in New Issue
Block a user