接口 PluginApplicationAction
- 所有超级接口:
org.gradle.api.Action<org.gradle.api.Project>
- 所有已知实现类:
ApplicationPluginAction,DependencyManagementPluginAction,JavaPluginAction,NativeImagePluginAction,WarPluginAction
interface PluginApplicationAction
extends org.gradle.api.Action<org.gradle.api.Project>
An
Action to be executed on a Project in response to a particular type
of Plugin being applied.- 从以下版本开始:
- 4.0
- 作者:
- Andy Wilkinson, Harry Yang
-
方法概要
修饰符和类型方法说明Class<? extends org.gradle.api.Plugin<? extends org.gradle.api.Project>>The class of thePluginthat, when applied, will trigger the execution of this action.从接口继承的方法 org.gradle.api.Action
execute
-
方法详细资料
-
getPluginClass
Class<? extends org.gradle.api.Plugin<? extends org.gradle.api.Project>> getPluginClass() throws ClassNotFoundException, NoClassDefFoundErrorThe class of thePluginthat, when applied, will trigger the execution of this action.- 返回:
- the plugin class
- 抛出:
ClassNotFoundException- if the plugin class cannot be foundNoClassDefFoundError- if an error occurs when defining the plugin class
-