提示コードですがpicocliディレクトリ内のbuild.gradle を実行すると以下ようなエラーがでるのですがこれは何が原因なのでしょうか?
なぜtestがないのでしょうか?
index.html内
html
1AtFileTest. testAtFileEndingWithoutNewline 2AtFileTest. testAtFileExpandedAbsolute 3AtFileTest. testAtFileExpandedMixedWithOtherParams 4AtFileTest. testAtFileExpandedWithCommentsOff 5AtFileTest. testAtFileExpandedWithNonDefaultCommentChar 6AtFileTest. testAtFileNotExpandedIfDisabled 7AtFileTest. testAtFileSimplified 8AtFileTest. testAtFileSimplifiedWithQuotesTrimmed 9AtFileTest. testAtFileWithExcapedAtValues 10AtFileTest. testAtFileWithMultipleValuesPerLine 11AtFileTest. testAtFileWithQuotedValuesContainingWhitespace 12AtFileTest. testMultipleAtFilesExpandedMixedWithOtherParams 13AtFileTest. testNestedAtFile 14AtFileTest. testNestedAtFileNotFound 15AtFileTest. testRecursiveNestedAtFileIgnored
------------------------------------------------------------ Gradle 7.1.1 ------------------------------------------------------------ Build time: 2021-07-02 12:16:43 UTC Revision: 774525a055494e0ece39f522ac7ad17498ce032c Kotlin: 1.4.31 Groovy: 3.0.7 Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 JVM: 11.0.11 (Ubuntu 11.0.11+9-Ubuntu-0ubuntu2.20.04) OS: Linux 5.11.0-34-generic amd64
$ gradle build FAILURE: Build failed with an exception. * Where: Build file '/home/shigurechan/ダウンロード/picocli/build.gradle' line: 21 * What went wrong: A problem occurred evaluating root project 'picocli'. > Could not find method testImplementation() for arguments [io.kotlintest:kotlintest-runner-junit5:3.3.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 1s
> Task :test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: file:///home/shigurechan/ダウンロード/picocli/build/reports/tests/test/index.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 1m 1s 82 actionable tasks: 82 executed
回答2件
あなたの回答
tips
プレビュー