diff --git a/hls-refine-imports-plugin.cabal b/hls-refine-imports-plugin.cabal
--- a/hls-refine-imports-plugin.cabal
+++ b/hls-refine-imports-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-refine-imports-plugin
-version:            1.0.3.0
+version:            1.0.4.0
 synopsis:           Refine imports plugin for Haskell Language Server
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -15,6 +15,10 @@
   test/testdata/*.hs
   test/testdata/*.yaml
 
+source-repository head
+    type:     git
+    location: https://github.com/haskell/haskell-language-server.git
+
 library
   buildable: True
   exposed-modules:    Ide.Plugin.RefineImports
@@ -25,10 +29,10 @@
     , containers
     , deepseq
     , ghc
-    , ghcide                       ^>=1.8
-    , hls-explicit-imports-plugin  ^>=1.1
+    , ghcide                       ^>=1.9
+    , hls-explicit-imports-plugin  ^>=1.2
     , hls-graph
-    , hls-plugin-api               ^>=1.5
+    , hls-plugin-api               ^>=1.6
     , lsp
     , text
     , unordered-containers
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -23,8 +23,8 @@
     , codeLensGoldenTest "UsualCase" 1
     ]
 
-refineImportsPlugin :: PluginDescriptor IdeState
-refineImportsPlugin = RefineImports.descriptor mempty "refineImports"
+refineImportsPlugin :: PluginTestDescriptor RefineImports.Log
+refineImportsPlugin = mkPluginTestDescriptor RefineImports.descriptor "refineImports"
 
 -- code action tests
 
