-
The
api
configuration, available only if you apply thejava-library
plugin, should be used to declare dependencies which are part of the API of a library, that need to be exposed to consumers at compilation time. -
api配置(只有在应用java-library插件时才可用)应该用于声明依赖项,这些依赖项是库api的一部分,需要在编译时向用户公开。
-
apply plugin: "java-library"
Gradle7.0+ Could not find method api()
最新推荐文章于 2022-09-16 16:59:32 发布