Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# JacocoOptions\n=============\n\n\n```\n@Incubating interface JacocoOptions : TestCoverage\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n| **This interface is deprecated.** \n| Renamed to TestCoverage\n\nDSL object for configuring JaCoCo settings.\n\nSummary\n-------\n\n| ### Public properties ||\n|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [version](/reference/tools/gradle-api/8.0/com/android/build/api/dsl/JacocoOptions#version()) **This property is deprecated.** Renamed to testCoverage.jacocoVersion |\n\n| ### Inherited properties ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| From class [com.android.build.api.dsl.TestCoverage](/reference/tools/gradle-api/8.0/com/android/build/api/dsl/TestCoverage) |----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [jacocoVersion](/reference/tools/gradle-api/8.0/com/android/build/api/dsl/TestCoverage#jacocoVersion()) The version of JaCoCo to use. | |\n\nPublic properties\n-----------------\n\n### version\n\n```\nvar version: String\n```\n| **This property is deprecated.** \n| Renamed to testCoverage.jacocoVersion\n\nThe version of JaCoCo to use."]]