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

CLI with registry.quarkus.redhat.com can't run Gradle project

XMLWordPrintable

    • False
    • False

      CLI with registry.quarkus.redhat.com can't run Gradle project

      quarkus create app app --gradle
      cd app
      quarkus dev
      

      Running ./gradlew --console=plain quarkusDev in app downloaded from https://code.quarkus.redhat.com/ work fine

      The difference is in gradle.properties.
      The one generated by CLI defines quarkusPluginVersion=2.2.3.Final-redhat-00013 which is not awailable.
      gradle.properties from https://code.quarkus.redhat.com/ app uses quarkusPluginVersion=2.2.3.Final

      Gradle application generated by CLI should define upstream version of the gradle pplugin

      Details from console:

      FAILURE: Build failed with an exception.
      
      * Where:
      Build file '/Users/rsvoboda/Downloads/app/build.gradle' line: 3
      
      * What went wrong:
      Plugin [id: 'io.quarkus', version: '2.2.3.Final-redhat-00013'] was not found in any of the following sources:
      
      - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
      - Plugin Repositories (could not resolve plugin artifact 'io.quarkus:io.quarkus.gradle.plugin:2.2.3.Final-redhat-00013')
        Searched in the following repositories:
          MavenLocal(file:/Users/rsvoboda/.m2/repository/)
          MavenRepo
          Gradle Central Plugin Repository
      
      * Try:
      > Run with --stacktrace option to get the stack trace.
      > Run with --info or --debug option to get more log output.
      > Run with --scan to get full insights.
      
      * Get more help at https://help.gradle.org
      
      BUILD FAILED in 1s
      

      CC olubyans@redhat.com

              manderse@redhat.com Max Andersen
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 30 minutes Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - 30 minutes Remaining Estimate - 4 hours
                  30m