only id(String) method calls allowed in plugins {} script block
近期在动态配置plugins中的id时报了一个错,我工程的config.gradle全局配置为:ext{android=[is_application:false,compileSdkVersion:30,buildToolsVersion:"29.0.0",minSdkVersion:21,targetSdkVersion:30,versionCode:1,versionName:'1.0',]