Hello,
I migrate a 0.2 jmix project to 0.31 and now when i try to assemble or bootJar i got this message:
Execution failed for task ‘:compileJava’.
Could not resolve all files for configuration ‘:compileClasspath’.
Could not find io.jmix.data:jmix-data-starter:.
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
My build.gradle has:
plugins {
id ‘io.jmix’ version ‘0.2.0’
id ‘java’
}
apply plugin: ‘org.springframework.boot’
jmix {
bomVersion = ‘0.3.1’
projectId = ‘mngc’
}
group = ‘com.company’
version = ‘0.0.1-SNAPSHOT’
sourceCompatibility = ‘1.8’
repositories {
mavenCentral()
maven {
url ‘https://nexus.jmix.io/repository/public’
}
jcenter()
mavenLocal()
}
dependencies {
implementation ‘io.jmix.core:jmix-core-starter’
implementation ‘io.jmix.data:jmix-data-starter’
implementation ‘io.jmix.ui:jmix-ui-starter’
implementation ‘io.jmix.ui:jmix-ui-data-starter’
implementation ‘io.jmix.ui:jmix-ui-themes-compiled’
implementation ‘io.jmix.ui:jmix-ui-widgets-compiled’
implementation ‘io.jmix.security:jmix-security-starter’
implementation ‘io.jmix.security:jmix-security-ui-starter’
implementation ‘io.jmix.security:jmix-security-data-starter’
implementation ‘io.jmix.localfs:jmix-localfs-starter’
implementation 'org.springframework.boot:spring-boot-starter-web'
runtimeOnly 'org.postgresql:postgresql:42.2.9'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}
Thanks in advance for your help