Use of Vaadin add-on with Jmix flow - not recognized

I am trying to use a couple of add-ons from vaadin Add-on directory.

Here is the one add-on that I wanted to use in my build.gradle file.
implementation 'org.vaadin.addons:vaadin-grid-util:2.1.1'

When I try to build, i’m getting the following errors:

Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.vaadin.addons:vaadin-grid-util:2.1.1.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/vaadin/addons/vaadin-grid-util/2.1.1/vaadin-grid-util-2.1.1.pom
       - https://nexus.jmix.io/repository/public/org/vaadin/addons/vaadin-grid-util/2.1.1/vaadin-grid-util-2.1.1.pom
       - https://repo.spring.io/release/org/vaadin/addons/vaadin-grid-util/2.1.1/vaadin-grid-util-2.1.1.pom
     Required by:
         project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

This addon is only compatible with Vaadin Framework UI, not supported for Vaadin Flow

That’s right, thank you.

But I, think I tried first this one: PDF viewer component for Vaadin Flow 14.+ | Vaadin
which is compatible to flow but had the same issue.

Hi,

Vaadin add-ons usually located in the Vaadin’s repository, so make sure that you’ve added the following to the repository list:

repositories {
    ...
    maven {
        url 'https://maven.vaadin.com/vaadin-addons'
    }
}

Gleb

Thank you Gleb