为什么 testOptions 被标记为 unstable with @Incubating?警告需要采取任何措施吗?

Why testOptions is marked unstable with @Incubating? Any action needed for warning?

提问人:Orcun Sevsay 提问时间:11/2/2023 更新时间:11/2/2023 访问量:21

问:

我看到上面的警告。我应该采取行动是否重要?有人知道吗?testOptions

build.gradle.kts:

   testOptions {
        animationsDisabled = true
        unitTests.apply {
            isReturnDefaultValues = true 
            isIncludeAndroidResources = true
        }
        execution = "ANDROIDX_TEST_ORCHESTRATOR"
    }

enter image description here

 testOptions {
        execution "ANDROIDX_TEST_ORCHESTRATOR"
        animationsDisabled true
        unitTests {
            includeAndroidResources = true
            returnDefaultValues = true 
        }
    }

我从 groovy 转换为 kotlin。这就是我注意到警告的方式!

安卓 android-gradle-plugin build.gradle gradle-kotlin-dsl

评论


答: 暂无答案