尝试使用gradle和junit 5:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0'
}
}
apply plugin: 'java-library'
apply plugin: 'org.junit.platform.gradle.plugin'
...
错误:
Plugin with id 'org.junit.platform.gradle.plugin' not found.
Gradle 4.0版本有什么问题吗?
--stacktrace
添加到构建参数并发布吗? - mkobit