Jmix Version 2.7 updated ;)

image

After update I get the following error

Build file 'F:\Bio4\build.gradle' line: 24

A problem occurred evaluating root project 'Bio4'.
> Could not get unknown property premiumRepoUser for root project 'Bio4' of type org.gradle.api.Project.

the part of the gradle file with the premiumRepoUser

repositories {
    mavenCentral()
    maven {
        url = 'https://global.repo.jmix.io/repository/public'
    }
    maven {
        url = 'https://global.repo.jmix.io/repository/premium'
        credentials {
            username = rootProject['premiumRepoUser']
            password = rootProject['premiumRepoPass']
        }
    }
    maven {
        url = 'https://repo.osgeo.org/repository/release'
    }
    // Dependencies for coordinates conversion
    //maven {
    //    url 'https://repo.osgeo.org/repository/release'
    //}
}

What did I wrong ?

Best regards
Felix

Hi Felix,

Please check that your ~/.gradle/gradle.properties file contains your premium repository credentials:

premiumRepoUser=123456789012
premiumRepoPass=xyzxyzxyzxyz

Normally Studio writes them into this file when you log in or enter your Jmix subscription key.

Regards,
Konstantin

@krivopustov

I did delete my ~/.gradle directory as problems started.

Thank you for the tip with logout and login in the IntelliJ IDE to rewrite this file.

Best regards

Felix

If you have any problems with Gradle caches, delete the ~/.gradle/caches folder, this should be enough.