When I try to open my project in Cuba studio, I get the following error message:“unable to parse base projects from build.gradle. Please check that ext.cubaVersion property points to a version which exists in Index of /groups/work repository.”
Here’s the beginning of my file:
buildscript {
ext.cubaVersion = ‘6.1.2’
repositories {
maven {
url ‘Index of /groups/work’
credentials {
username(rootProject.hasProperty(‘repoUser’) ? rootProject[‘repoUser’] : ‘cuba’)
password(rootProject.hasProperty(‘repoPass’) ? rootProject[‘repoPass’] : ‘cuba123’)
}
}
maven {
url ‘https://repo.cuba-platform.com/content/groups/premium’
credentials {
username(rootProject.hasProperty(‘premiumRepoUser’) ? rootProject[‘premiumRepoUser’] : System.getenv(‘CUBA_PREMIUM_USER’))
password(rootProject.hasProperty(‘premiumRepoPass’) ? rootProject[‘premiumRepoPass’] : System.getenv(‘CUBA_PREMIUM_PASSWORD’))
}
}
flatDir { dirs ‘C:\Users\Francis\studio-projects\fluxpdi\PDILibs\MyJARFiles\’}
}
dependencies {
classpath “com.haulmont.gradle:cuba-plugin:$cubaVersion”
}
}