Giter Site home page Giter Site logo

Comments (32)

szczebel avatar szczebel commented on June 12, 2024 11

+1 to bump up priority of Gradle 7.x support

from allure-gradle.

patrykks avatar patrykks commented on June 12, 2024 6

This not the only problem. Plugin is using for example testCompile keyword which was removed in Gradle 7.0. Details: https://docs.gradle.org/7.0/userguide/upgrading_version_6.html#sec:configuration_removal

Is this project still supported/maintained? In few months this issue will be blocker for all users that would like to use Gradle in version >=7.0. Gradle in 7.0 brings important features such as support for Java 16 or native support for new generation of MAC processors.

from allure-gradle.

KroArtem avatar KroArtem commented on June 12, 2024 6

@vlsi , do you by accident know whether there are plans on releasing a new version?

from allure-gradle.

alexsirko avatar alexsirko commented on June 12, 2024 4

@baev @eroshenkoam Looks like a lot of people are anticipating a new release :) It would be very good to have at least a bit of backwards communication ;)

from allure-gradle.

eroshenkoam avatar eroshenkoam commented on June 12, 2024 4

ty, fixed in 2.9.3

from allure-gradle.

ranamanas avatar ranamanas commented on June 12, 2024 3

I tried with Gradle 7.1.1 and i see the same error -

  • What went wrong:
    A problem was found with the configuration of task ':allureAggregatedReport' (type 'AllureReport').
    • In plugin 'io.qameta.allure' type 'io.qameta.allure.gradle.task.AllureReport' property 'clean' has redundant getters: 'getClean()' and 'isClean()'.

      Reason: Boolean property 'clean' has both an is and a get getter.

      Possible solutions:

      1. Remove one of the getters.
      2. Annotate one of the getters with @internal.

from allure-gradle.

KroArtem avatar KroArtem commented on June 12, 2024 3

Nice to hear!

from allure-gradle.

eroshenkoam avatar eroshenkoam commented on June 12, 2024 3

Screenshot 2021-09-23 at 13 12 58

Gradle miss `allure-base` plugin, to we need to wait until it will be approved.

Same commit's:
https://github.com/allure-framework/allure-gradle/actions/runs/1254218491
https://github.com/allure-framework/allure-gradle/actions/runs/1265320157

But allure-base plugin missing in 2.9.0

from allure-gradle.

Ankhell avatar Ankhell commented on June 12, 2024 2

This not the only problem. Plugin is using for example testCompile keyword which was removed in Gradle 7.0. Details: https://docs.gradle.org/7.0/userguide/upgrading_version_6.html#sec:configuration_removal

Is this project still supported/maintained? In few months this issue will be blocker for all users that would like to use Gradle in version >=7.0. Gradle in 7.0 brings important features such as support for Java 16 or native support for new generation of MAC processors.

This one is not a blocker, actually, you can use

    allure {
        configuration = "testImplementation"
    }

from allure-gradle.

vlsi avatar vlsi commented on June 12, 2024 2

Thanks. I've pushed a fix in cb07f41

from allure-gradle.

KroArtem avatar KroArtem commented on June 12, 2024 2

@baev , @eroshenkoam , currently this is a blocker to use gradle 7, is there any chance for new version?

from allure-gradle.

nareshiot avatar nareshiot commented on June 12, 2024 2

We have recently upgraded to Gradle 7 and with the above mentioned issue unable to generate the Allure report. Is there any release scheduled to resolve this issue? Or please suggest if there are any workaround to make it work with Gradle 7 version.

from allure-gradle.

KroArtem avatar KroArtem commented on June 12, 2024 2

During umoney meetup (https://youtu.be/s-cXhMcYwQM) @eroshenkoam said they'll have a look at this issue together with @baev but still no activity. It does look very impolite to promise something and do nothing, though 😞

from allure-gradle.

eroshenkoam avatar eroshenkoam commented on June 12, 2024 2

Waiting for approval)

from allure-gradle.

martenhellmann avatar martenhellmann commented on June 12, 2024 1

Could you please publish/build a new release from the current state. Last published release is from 2019. Thank you!

from allure-gradle.

pandoras-toolbox avatar pandoras-toolbox commented on June 12, 2024 1

We are also waiting for a bug fix. Or is there a workaround so that we can used Gradle 7 with Allure?

from allure-gradle.

suchitra-srinivasan avatar suchitra-srinivasan commented on June 12, 2024 1

Some problems were found with the configuration of task ':allureAggregatedReport' (type 'AllureReport'). In plugin 'io.qameta.allure' type 'io.qameta.allure.gradle.task.AllureReport' property 'clean' has redundant getters: 'getClean()' and 'isClean()'.

Gradle version: 7.4.2. Seems like latest version of gradle has trouble generating allure report

from allure-gradle.

patrykks avatar patrykks commented on June 12, 2024

Are community contributions into this repository allowed? :)

from allure-gradle.

vlsi avatar vlsi commented on June 12, 2024

This PR adds Gradle 7.0 compatibility: #61

Please feel free to try it and provide feedback

from allure-gradle.

Ankhell avatar Ankhell commented on June 12, 2024

This PR adds Gradle 7.0 compatibility: #61

Please feel free to try it and provide feedback

Unfortunately jitpack fails to build it :(

image
Jitpack log

graddle.settings.kts config that I used

    resolutionStrategy {
        eachPlugin {
            if(requested.id.toString() == "io.qameta.allure")
                useModule("com.github.vlsi:allure-gradle:facelift-SNAPSHOT")
        }
    }
    repositories {
        mavenLocal()
        gradlePluginPortal()
        mavenCentral()
        jcenter()
        maven { setUrl("https://jitpack.io") }
    }
    ```

from allure-gradle.

cheparsky avatar cheparsky commented on June 12, 2024

Why did you downgrade Gradle to 6.9?

We use the last version of Gradle, will it be compatible and fix the problem?

from allure-gradle.

mformetal avatar mformetal commented on June 12, 2024

Any idea when this may happen? Would love to use AGP 7.0 in my project with this plugin.

from allure-gradle.

admizh avatar admizh commented on June 12, 2024

summon nobody, seems like need create fork

from allure-gradle.

eroshenkoam avatar eroshenkoam commented on June 12, 2024

Screenshot 2021-09-20 at 23 13 53

It's almost done)

from allure-gradle.

vlsi avatar vlsi commented on June 12, 2024

Looks like the plugins have been approved for the Gradle Plugin Portal: https://plugins.gradle.org/search?term=io.qameta.allure

from allure-gradle.

davidmoshal avatar davidmoshal commented on June 12, 2024

Problem still exists with Grade 7.2
Pity, the Node JS reporter works nicely.
Guess it's not that well maintained?

from allure-gradle.

vlsi avatar vlsi commented on June 12, 2024

@davidmoshal , would you provide a reproducer?
There are integration tests with Gradle 7.2: https://github.com/allure-framework/allure-gradle/blob/master/allure-plugin/src/test/kotlin/io/qameta/allure/gradle/report/TestAndAllureReportTest.kt#L41

from allure-gradle.

zatolokinboris avatar zatolokinboris commented on June 12, 2024

Столкнулся с той же проблемой, при обновлении проекта командой разработки на 7.4.2 отвалился allure. Есть ли примерное понимания когда будет исправлена проблема?

from allure-gradle.

vlsi avatar vlsi commented on June 12, 2024

@zatolokinboris , давно исправлено уже. Какая у вас версия плагина?

from allure-gradle.

zatolokinboris avatar zatolokinboris commented on June 12, 2024

А! Я ошибся с версией плагина самого аллюра! Вот оно что! Спасибо!

from allure-gradle.

unickq avatar unickq commented on June 12, 2024

Gradle 7.4.2

plugins {
  id 'io.qameta.allure' version '2.10.0'
}

allure {
  version = '2.18.1'
}

./gradlew allureServe --info

Task :tests:allureServe NO-SOURCE
Skipping task ':tests:allureServe' as it has no source files and no previous output files.
:tests:allureServe (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
producer locations for task group 0 (Thread[Execution worker for ':',5,main]) started.
producer locations for task group 0 (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.

Update from gradle 6. Missing source files?

from allure-gradle.

vlsi avatar vlsi commented on June 12, 2024

Have you tried ./gradlew allureServe --depends-on-tests?

@unickq , please do not add issues as comments to an old issue. It triggers excessive notifications.

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.