在build.gradle中指定
build.gradle
test { useJUnitPlatform() }
和
tasks.withType(Test) { useJUnitPlatform() }
?
8ftvxx2r1#
是的,正如您在文档中看到的,第一个是groovy(build.gradle),第二个是Kotlin(build.gradle.kts)。
build.gradle.kts
1条答案
按热度按时间8ftvxx2r1#
是的,正如您在文档中看到的,第一个是groovy(
build.gradle
),第二个是Kotlin(build.gradle.kts
)。