LoginSignup
1
1

More than 5 years have passed since last update.

JavaBasePlugin がみつからなくてGradleでJUnit5が実行できなくなった

Posted at

apply plugin: 'org.junit.platform.gradle.plugin' を追加したら以下のようなエラーが出た。

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/eiel/Documents/ghq/github.com/junit-team/junit5-samples/junit5-gradle-consumer/build.gradle' line: 23

* What went wrong:
A problem occurred evaluating root project 'junit5-gradle-consumer'.
> org/gradle/api/plugins/JavaBasePlugin

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

~/.gradle を削除したら、治った。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1