Skip to content

Plugin does not work with Gradle 8.0 #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Laimiux opened this issue Feb 14, 2023 · 10 comments
Open

Plugin does not work with Gradle 8.0 #217

Laimiux opened this issue Feb 14, 2023 · 10 comments

Comments

@Laimiux
Copy link
Contributor

Laimiux commented Feb 14, 2023

JacocoMerge task was removed (gradle/gradle#12767) and this plugin now throwa

Failed to apply plugin 'com.vanniktech.android.junit.jacoco'.
> Could not create plugin of type 'GenerationPlugin'.
   > Could not generate a decorated class for type GenerationPlugin.
      > org/gradle/testing/jacoco/tasks/JacocoMerge
@vanniktech
Copy link
Owner

Honestly, this is super unmaintaned. Happy for a person to jump in

@twyatt
Copy link

twyatt commented Feb 17, 2023

@Laimiux any plans to get your Gradle 8 support (laimonas/gradle-8 branch) merged into this project? Or, to publish your fork publicly? 🙏

@Laimiux
Copy link
Contributor Author

Laimiux commented Feb 17, 2023

I've got it to work for and published it to internal maven repository (at Instacart). I'm leaving for vacation for two weeks starting tomorrow so I won't be able to work on merging this back into here. However, if anyone has bandwidth, the changes in https://github.com/Laimiux/gradle-android-junit-jacoco-plugin/tree/laimonas/gradle-8 should be easy to contribute back.

@twyatt
Copy link

twyatt commented Feb 17, 2023

Honestly, this is super unmaintaned.

@vanniktech if PRs are created/merged, will you continue to publish versions? Or, are you hoping someone will fork this project and publish as a new artifact?

@tecruz
Copy link

tecruz commented Apr 27, 2023

Any news?

@themockgraeme
Copy link

@vanniktech I forked Gradle 8 branch that @Laimiux created, removed some added publishing code which I suspect is specific to the Instacart repository, and updated some of the imported libraries. It's now building with Gradle 8 / Java 17.

I created a pull request, and the code can be found at:

https://github.com/themockgraeme/gradle-android-junit-jacoco-plugin/tree/gradle-8-upgrade

@vramasam
Copy link

Hello @themockgraeme Is there any new artifacts available for the above fix. If its there can you please provide the path

@themockgraeme
Copy link

themockgraeme commented Aug 29, 2023 via email

@vramasam
Copy link

vramasam commented Sep 20, 2023

Okay @themockgraeme . Thank you for the response. Is there any plan to update this to master and create a tag and publish?

@themockgraeme
Copy link

@vramasam I haven't really thought about it. I migrated the project that I'm working on to an alternative plugin.

https://github.com/gmazzo/gradle-android-test-aggregation-plugin

I'm busy for the next week and a half, but after that I might take a quick look at the project and get it compiling, but it's not something that I'm looking at taking on and maintaining.

johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Feb 11, 2024
+ The plugin was unmaintained since 08/2022 and was uncompatible
  with Gradle 8. It might be possible to bring the plugin back
  once a new version has been crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Feb 11, 2024
+ The plugin has not been maintained since 08/2022 and not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Feb 12, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Feb 15, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Feb 16, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Feb 17, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Feb 19, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Apr 1, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Apr 2, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Apr 25, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue Apr 30, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue May 8, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
johnjohndoe added a commit to EventFahrplan/EventFahrplan that referenced this issue May 8, 2024
+ The plugin has not been maintained since 08/2022 and is not compatible
  with Gradle 8. It may be possible to bring the plugin back as soon as
  a new version is crafted.
  vanniktech/gradle-android-junit-jacoco-plugin#217
+ Project: https://github.com/vanniktech/gradle-android-junit-jacoco-plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants