Unable to add Vaadin add-on

Jmix version: 2.3.1

I am facing a strange issue. I am trying to add Vaadin FullCalendar add-on in one of sub-project but Gradle skips https://maven.vaadin.com/vaadin-addons while searching for this add-on.

image

Interestingly, if I change repo url to https://google.com (or any other valid one) it tries searching in google.

Searched in the following locations:

But if I add Vaadin add-ons repo alongwith google, Gradle skips both repos.

Searched in the following locations:

Having almost no experience with gradle, I might be missing something here. Please guide.

I am able to access add-ons repo from my Safari and Terminal.

Hi,

I’ve just tested it and everything seems to be working correctly. Could you please try running my project?

vaadin-fullcalendar.zip (98.5 KB)

Hi

Your project is working fine.

I am still unable to find out what’s issue with mine. Tried everything from invalidating cache to restarting machine. I hope my declarations of repo and dependency are in right Gradle file. I have put them in

app → admin (sub-proj) – admin → admin.gradle

Are you working with a composite project? admin is an add-on inside this project, right?
If so, then try to add the following instruction to the admin.gradle

implementation 'org.vaadin.stefan:fullcalendar2:6.0.0'

Remove the repositories section you’ve added to the admin.gradle

Add the

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

to the repositories section that is located inside the app → admin (sub-proj) → build.gradle file

Same behaviour in this application. I created a new composite app and your method worked in this new app. I migrated this project from 2.2.3 → 2.3.0 → 2.3.1, may be something broke in the process, although I didn’t find any difference in Gradle build files which could be causing this problem.

For now, I would create new app and migrate my code to that one.

One small observation to look into though, some gradle.build of some (not all) sub-projects still had “classpath ‘io.jmix.gradle:jmix-gradle-plugin:2.3.0’” even after migrating to 2.3.1.

I added repository in build.gradle of full stack application sub-project of the application and build was successful.