gradle 버전이 업그레이드 되면서 compile, testCompile이 deprecated 되었다고 한다.
implementation, testImplementation으로 사용해야 함
https://docs.gradle.org/4.10/userguide/java_plugin.html#sec:java_plugin_and_dependency_management
The Java Plugin
The Java plugin adds a number of dependency configurations to your project, as shown below. It assigns those configurations to tasks such as compileJava and test. compile(Deprecated) Compile time dependencies. Superseded by implementation. implementation e
docs.gradle.org
Gradle | Releases
Find binaries and reference documentation for current and past versions of Gradle.
gradle.org
https://docs.gradle.org/7.0/userguide/java_library_plugin.html#sec:java_library_configurations_graph
The Java Library Plugin
The Java Library plugin expands the capabilities of the Java plugin by providing specific knowledge about Java libraries. In particular, a Java library exposes an API to consumers (i.e., other projects using the Java or the Java Library plugin). All the so
docs.gradle.org
Ref: https://stackoverflow.com/questions/23796404/could-not-find-method-compile-for-arguments-gradle
'DevOps' 카테고리의 다른 글
앤서블(Ansible) (0) | 2022.05.01 |
---|