Coder Social home page Coder Social logo

Comments (4)

ljacomet avatar ljacomet commented on September 27, 2024

The issue is in the backlog of the relevant team and is prioritized by them.


Thanks. We will take a look and confirm the regression aspect.

from gradle.

ljacomet avatar ljacomet commented on September 27, 2024

Hey @illarionov,

I cannot reproduce the issue locally. I tried Gradle 8.8 with JDK 17 and 21, and I always successfully export keys, wether I do it in one step (gradle -M pgp,sha256 --export-keys build -s) or two as you indicated.

Could you try again and see if there is something else specific to your environment that's causing the issue?

In the meantime, removing the a:regression label for now.

from gradle.

illarionov avatar illarionov commented on September 27, 2024

It looks like a cached key was used on my machine, because after deleting the ~/.gradle/caches/keyrings, the error stopped reproducing.
I've prepared a repository with a slightly different way to reproduce this error: https://github.com/illarionov/playground-android-composite-build/tree/gradle-29395

Steps:

git clone https://github.com/illarionov/playground-android-composite-build.git -b gradle-29395
cd playground-android-composite-build/
./gradlew -M pgp,sha256 --export-keys -g /temp/temp_gradle build -s

Run on Github Actions: https://github.com/illarionov/playground-android-composite-build/actions/runs/9355109305/job/25749523071

Given that this issue can be resolved by deleting the ~/.gradle/caches/keyrings and gradle/verification-keyring.keys, I am uncertain whether a fix is necessary on Gradle. I leave this decision to the Gradle team.

from gradle.

hegyibalint avatar hegyibalint commented on September 27, 2024

The issue is in the backlog of the relevant team, but the existence of a workaround means it might take a while before a fix is made.


Thanks for the clarification. The error should be improved to be more descriptive about potential workarounds for local cache cleanup.

from gradle.

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.