Skip to content
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

Jacoco breaks on react native 0.72 #994

Closed
Tobbb opened this issue Jun 27, 2023 · 2 comments
Closed

Jacoco breaks on react native 0.72 #994

Tobbb opened this issue Jun 27, 2023 · 2 comments

Comments

@Tobbb
Copy link

Tobbb commented Jun 27, 2023

Steps to Reproduce the Problem

on react native 0.72
run ./gradlew clean in android folder

Expected Behavior

successful build

Actual Behavior

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • Where:
    Script '/xxxxx/node_modules/instabug-reactnative/android/jacoco.gradle' line: 14

Could not set unknown property 'enabled' for Report html of type org.gradle.api.reporting.internal.TaskGeneratedSingleDirectoryReport.

Instabug integration code

SDK Version

"instabug-reactnative": "^11.12.0",

React Native, iOS and Android Versions

Device Model

[Optional] Project That Reproduces the Issue

removing

  reports {
    html.enabled true
    xml.enabled true
  }

in Jacoco.gradle solves it

or

reports { html.required=true xml.required=true }

https://community.sonarsource.com/t/report-enabled-and-report-destination-are-deprecated-and-will-be-removed-in-gradle-8-0/50491

@Tobbb Tobbb changed the title Jacoco breaks on Jacoco breaks on react native 0.72 Jun 27, 2023
@asamiz
Copy link
Contributor

asamiz commented Jul 2, 2023

Hello @Tobbb, sorry for the late reply, we are looking into this.

@asamiz
Copy link
Contributor

asamiz commented Jul 5, 2023

Hello @Tobbb, changes were made and will be included in the next release. 🚀
I will close this issue, thank you for your contribution!

@asamiz asamiz closed this as completed Jul 5, 2023
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

2 participants