diff --git a/talaiot/src/main/kotlin/com/cdsap/talaiot/TalaiotPlugin.kt b/talaiot/src/main/kotlin/com/cdsap/talaiot/TalaiotPlugin.kt index eddacb20..e234d8b9 100644 --- a/talaiot/src/main/kotlin/com/cdsap/talaiot/TalaiotPlugin.kt +++ b/talaiot/src/main/kotlin/com/cdsap/talaiot/TalaiotPlugin.kt @@ -42,7 +42,7 @@ class TalaiotPlugin : Plugin { project.gradle.addBuildListener(listener) project.gradle.buildOperationListenerManager().addListener(buildOperationListener) project.gradle.buildFinished { - project.gradle.removeListener(buildOperationListener) + project.gradle.buildOperationListenerManager().removeListener(buildOperationListener) } }