Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-335

Configuration mutation will be blocked in Gradle 9.0

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P1: Critical
    • None
    • None
    • QtGP: General
    • None
    • Android

    Description

      [warn] Mutating the dependencies of configuration ':app:implementation' after it has been resolved or consumed. This behavior has been deprecated.`:app:QtBuildTask`
      
      This will fail with an error in Gradle 9.0.

      So this is what we do in the afterResolve{} block - we add the created AAR file as a dependency to the "implementation" configuration. Currently we get a warning from this and starting from Gradle 9.0 it will not work anymore.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            nikunj Nikunj Arora
            olvuolte Olli Vuolteenaho
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes