Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6955

Quarkus CLI can not create and build Gradle application

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      1.

      quarkus create app app --stream=3.27 --gradle
      

      2.

      cd app
      quarkus build -Dmaven.repo.local=$REPO -Dquarkus.analytics.disabled=true --batch-mode
      
      Show
      1. quarkus create app app --stream=3.27 --gradle 2. cd app quarkus build -Dmaven.repo. local = $REPO -Dquarkus.analytics.disabled=true --batch-mode
    • ---

      If Quarkus CLI is used to create Gradle application, it fails during the build with the following error:

      > Task :quarkusGenerateAppModel FAILED
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':quarkusGenerateAppModel'.
      > Could not resolve all files for configuration ':quarkusProdRuntimeClasspathConfigurationDeployment'.
         > Could not resolve io.netty:netty-transport-native-unix-common:{strictly 4.1.128.Final}.
           Required by:
               root project 'app'
            > Cannot find a version of 'io.netty:netty-transport-native-unix-common' that satisfies the version constraints:
                 Dependency path 'org.acme:app:1.0.0-SNAPSHOT' --> 'io.quarkus:quarkus-rest:3.27.1.redhat-00001' (runtime) --> 'io.quarkus:quarkus-virtual-threads:3.27.1.redhat-00001' (runtime) --> 'io.vertx:vertx-core:4.5.22.redhat-00001' (runtime) --> 'io.netty:netty-handler:4.1.128.Final-redhat-00001' (runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.128.Final-redhat-00001'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.1.redhat-00003' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.128.Final-redhat-00001'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.1.redhat-00003' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.128.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.1.redhat-00003' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.128.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.1.redhat-00003' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.128.Final-redhat-00001'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.1.redhat-00003' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.128.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.1.redhat-00003' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.128.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'io.netty:netty-transport-native-unix-common:{strictly 4.1.128.Final}' because of the following reason: version resolved in configuration ':quarkusProdRuntimeClasspathConfiguration' by consistent resolution
      
      

              ant@redhat.com Ant Stephenson
              rhn-support-fdudinsk Fedor Dudinskii
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: