Building Locally
The application uses several commercial add-ons, so you need an active Jmix Enterprise subscription to build the application locally. You can also do it with the trial subscription by following the steps below.
First, get the jmix-commercial-addons-demo
sample application. You may download it from your account page at https://store.jmix.io/.
Next, copy the trial-repository
directory from the jmix-commercial-addons-demo
sample project to the root of the jmix-bookstore
project.
After that, modify the build.gradle
file of the jmix-bookstore
project: add the repository with the trial-repository
directory.
repositories {
mavenCentral()
maven {
url 'https://global.repo.jmix.io/repository/public'
}
if (file('trial_repository').exists()) {
maven {
url "file://${project.projectDir}/trial_repository"
}
} else {
maven {
url = 'https://global.repo.jmix.io/repository/premium'
credentials {
username = rootProject['premiumRepoUser']
password = rootProject['premiumRepoPass']
}
}
}
}
Note that the Bookstore project must be based on exactly the same Jmix version as the commercial add-ons sample project.