Giter Site home page Giter Site logo

Comments (11)

pavelicii avatar pavelicii commented on June 11, 2024 5

Issue persists with Gradle 7.5.

from allure-gradle.

vlsi avatar vlsi commented on June 11, 2024 1

The culprit is

from allure-gradle.

juergenzimmermann avatar juergenzimmermann commented on June 11, 2024

As expected: issue persists with Gradle 7.5-rc-2

from allure-gradle.

juergenzimmermann avatar juergenzimmermann commented on June 11, 2024

The issue still exists with io.qameta.allure 2.10.0

from allure-gradle.

juergenzimmermann avatar juergenzimmermann commented on June 11, 2024

Gradle 7.5.1: Hopefully not "The same procedure as every year" https://www.youtube.com/watch?v=Nysm_ErwdFE ;-)

from allure-gradle.

AM1988 avatar AM1988 commented on June 11, 2024

Hey. Any plans to fix this? Does anyone have a workaround?

from allure-gradle.

CristianGM avatar CristianGM commented on June 11, 2024

I can fix it quite easily but it implies requiring Gradle 6.8.3+

making it compatible, if possible, would require a lot of work, and 6.8.3 is from Feb 2021, not precisely new.

What do you think?

meh, not yet...

from allure-gradle.

CristianGM avatar CristianGM commented on June 11, 2024

I jumped to the pool but it didn't have water...

Moving the project to Gradle 7.5 and fixing a ton of things is not enough.
Making the tests to use Gradle 7.5.1 makes them to fail with the same error. The issue seems to me when it resolves dependencies to run AllureReport.

from allure-gradle.

vlsi avatar vlsi commented on June 11, 2024

The relevant line in 7.5.1 is https://github.com/gradle/gradle/blob/v7.5.1/subprojects/core/src/main/java/org/gradle/execution/plan/LocalTaskNode.java#L134, so it is probably connected with mustRunAfter.

from allure-gradle.

vlsi avatar vlsi commented on June 11, 2024

I've filed gradle/gradle#21962 for Gradle team to analyze, however, I do not see a relevant workaround.
I am afraid what we can do at allure-gradle side right now is to skip mustRunAfter(resultsDirs) by default when running with Gradle 7.5+.

It turns out there's a workaround: mustRunAfter(resultsDirs.map { it.elements }).

from allure-gradle.

juergenzimmermann avatar juergenzimmermann commented on June 11, 2024

@vlsi @baev The upgrade to Gradle 7.6-milestone-1 works fine. Thank you for your efforts!

from allure-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.