Giter Club home page Giter Club logo

Comments (10)

rmarma avatar rmarma commented on May 27, 2024 1

@cosic, done #47

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on May 27, 2024 1

@rmarma Thank you. I'm going to release it in a few days. You can try changes at 1.3.6-SNAPSHOT version now.

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on May 27, 2024 1

@rmarma So, I've published 2 versions:

  • 1.3.6-SNAPSHOT – with fix configuration cache issue for JDK11-17
  • 1.4.0-SNAPSHOT – with fix configuration cache issue for JDK18+

from huawei-appgallery-publish-gradle-plugin.

rmarma avatar rmarma commented on May 27, 2024 1

@cosic, ok.

1.3.6 - JDK11+
1.4.0 - JDK17+

The problem is solved, we can close this issue.

from huawei-appgallery-publish-gradle-plugin.

rmarma avatar rmarma commented on May 27, 2024

rmarma#1

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on May 27, 2024

@rmarma Thank you for fix the configuration cache issue. Could you create Pull Request on snapshot-1.3.6 branch on this repository?

from huawei-appgallery-publish-gradle-plugin.

rmarma avatar rmarma commented on May 27, 2024

@cosic, It works, but only on JDK 18:
plugin-task-configuration-avoidance-result

On JDK 17/11 get error:

> Could not resolve all files for configuration ':classpath'.
   > Could not resolve ru.cian:huawei-publish-gradle-plugin:1.3.6-SNAPSHOT.
     Required by:
         project :
      > No matching variant of ru.cian:huawei-publish-gradle-plugin:1.3.6-SNAPSHOT:20230429.205109-1 was found. The consumer was configured to find a library for use during runtime, compatible with Java 17, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.1.1' but:
          - Variant 'apiElements' capability ru.cian:huawei-publish-gradle-plugin:1.3.6-SNAPSHOT declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component for use during compile-time, compatible with Java 18 and the consumer needed a component for use during runtime, compatible with Java 17
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.1.1')
          - Variant 'runtimeElements' capability ru.cian:huawei-publish-gradle-plugin:1.3.6-SNAPSHOT declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component, compatible with Java 18 and the consumer needed a component, compatible with Java 17
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.1.1')

1.3.6-SNAPSHOT:20230429.205109-1 compiled with JDK 18?

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on May 27, 2024

1.3.6-SNAPSHOT:20230429.205109-1 compiled with JDK 18?

Yes, it compiled with JDK 18. I have been prepared new version for AGP 8+. But it seems a better way release configuration cache on JDK 11-17 and upto JDK 18 at next release.

from huawei-appgallery-publish-gradle-plugin.

rmarma avatar rmarma commented on May 27, 2024

@cosic, thanks)

Why JDK 18? AFAIK, AGP 8 requires JDK17.

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on May 27, 2024

@rmarma Actualy you are right. I shoult build it with JDK 17.

from huawei-appgallery-publish-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.