Could not find com.haulmont.reports:reports-global:6.10.14

I’m setting up the env with an existing project and I’m getting these:

A problem occurred configuring project ':app-core'.
> Could not resolve all dependencies for configuration ':appComponent'.
   > Could not find com.haulmont.reports:reports-global:6.10.14.
     Searched in the following locations:
         file:/home/gpetrov/.m2/repository/com/haulmont/reports/reports-global/6.10.14/reports-global-6.10.14.pom
         file:/home/gpetrov/.m2/repository/com/haulmont/reports/reports-global/6.10.14/reports-global-6.10.14.jar
         https://repo.cuba-platform.com/content/groups/work/com/haulmont/reports/reports-global/6.10.14/reports-global-6.10.14.pom
         https://repo.cuba-platform.com/content/groups/work/com/haulmont/reports/reports-global/6.10.14/reports-global-6.10.14.jar
     Required by:
         project :
   > Could not find com.haulmont.charts:charts-global:6.10.14.
     Searched in the following locations:
         file:/home/gpetrov/.m2/repository/com/haulmont/charts/charts-global/6.10.14/charts-global-6.10.14.pom
         file:/home/gpetrov/.m2/repository/com/haulmont/charts/charts-global/6.10.14/charts-global-6.10.14.jar
         https://repo.cuba-platform.com/content/groups/work/com/haulmont/charts/charts-global/6.10.14/charts-global-6.10.14.pom
         https://repo.cuba-platform.com/content/groups/work/com/haulmont/charts/charts-global/6.10.14/charts-global-6.10.14.jar

Checked the base url and found taht v. 6.10 is really missing there.

The CUBA Charts and Reports add-ons of version 6.10 are located in premium repository and require a subscription to use. Please see Access to CUBA Premium Add-ons.

Thanks for the prompt reply Konstantin!
I do have a subscription and this functionality worked just fine until I decided to re-create my environment today.

This method worked:

gradlew assemble -PpremiumRepoUser=111111222222 -PpremiumRepoPass=abcdefabcdef

Looks like there’s some sort of incompatibility between latest cuba plugin and latest intellij studio that I upgraded today.
Intellij is not taking into account ~/.gradle/gradle.properties nor gradle’s caches dir with 3rd party dependencies for some reason.

IntelliJ IDEA 2023.2.1 (Community Edition)
Build #IC-232.9559.62, built on August 23, 2023
Runtime version: 17.0.8+7-b1000.8 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.0-83-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Non-Bundled Plugins:
com.jetbrains.packagesearch.intellij-plugin (232.9559.10)
CUBA (15.10-232)

Kotlin: 232-1.9.0-IJ9559.62
Current Desktop: X-Cinnamon

Managed to fix it by manually specifying ‘Gradle user home’ in intelliJ’s settings.
Seems it wasn’t able to autoconfigure/find it before.