Comments (32)
+1 to bump up priority of Gradle 7.x support
from allure-gradle.
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.
@vlsi , do you by accident know whether there are plans on releasing a new version?
from allure-gradle.
@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.
ty, fixed in 2.9.3
from allure-gradle.
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 aget
getter.Possible solutions:
- Remove one of the getters.
- Annotate one of the getters with @internal.
-
from allure-gradle.
Nice to hear!
from allure-gradle.
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.
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.
Thanks. I've pushed a fix in cb07f41
from allure-gradle.
@baev , @eroshenkoam , currently this is a blocker to use gradle 7, is there any chance for new version?
from allure-gradle.
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.
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.
Waiting for approval)
from allure-gradle.
Could you please publish/build a new release from the current state. Last published release is from 2019. Thank you!
from allure-gradle.
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.
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.
Are community contributions into this repository allowed? :)
from allure-gradle.
This PR adds Gradle 7.0 compatibility: #61
Please feel free to try it and provide feedback
from allure-gradle.
This PR adds Gradle 7.0 compatibility: #61
Please feel free to try it and provide feedback
Unfortunately jitpack fails to build it :(
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.
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.
Any idea when this may happen? Would love to use AGP 7.0 in my project with this plugin.
from allure-gradle.
summon nobody, seems like need create fork
from allure-gradle.
from allure-gradle.
Looks like the plugins have been approved for the Gradle Plugin Portal: https://plugins.gradle.org/search?term=io.qameta.allure
from allure-gradle.
Problem still exists with Grade 7.2
Pity, the Node JS reporter works nicely.
Guess it's not that well maintained?
from allure-gradle.
@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.
Столкнулся с той же проблемой, при обновлении проекта командой разработки на 7.4.2 отвалился allure. Есть ли примерное понимания когда будет исправлена проблема?
from allure-gradle.
@zatolokinboris , давно исправлено уже. Какая у вас версия плагина?
from allure-gradle.
А! Я ошибся с версией плагина самого аллюра! Вот оно что! Спасибо!
from allure-gradle.
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.
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)
- allureServe/allureReport task failing after the second run if category.json is saved under test/resources
- Allure result json doesn't contain any indication of group annotation when running a test which is executed as gradle task
- Invalid output property causes Gradle build cache miss
- Add support for Spock2 HOT 4
- Last version of Allure plugin (gradle) does not work properly HOT 4
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. HOT 1
- Add option to generate a single-file report via Gradle task
- Configuration cache: Cannot set the value of a property of type [...].Configuration using a provider of type [...].DefaultFileCollectionFactory$ResolvingFileCollection
- Allure gradle plugin causes execution of additonal test sets as part of build task HOT 3
- spi-off transformer should be disabled in case autoconfigure=false
- Able use custom java sdk HOT 2
- No reports are generated when using latest Allure version (2.16.1) HOT 3
- Allure commandline is downloaded into `build/allure` folder, but previously it was donwloaded into `.allure` folder in the project root HOT 1
- Issue integrating allure-plugin into build-conventions HOT 1
- Allure does not work together with reckon plugin HOT 2
- Aspectj dumps ajcore.txt files when applying allure-gradle plugin in project with spring-boot HOT 12
- Allure reports not generating after upgrading allure version from 2.8.1 to 2.9.4 HOT 2
- Example for report aggregation? HOT 1
- ClassCastException with Gradle 7.5-milestone-1 HOT 11
- Ignoring Aspectj version in allureAspectjWeaverAgent and allure extension without explicit implementation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure-gradle.