Skip to content

Instantly share code, notes, and snippets.

@chenenyu
Created August 1, 2018 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chenenyu/d22f8647c4c06844b6cda82d9470fa58 to your computer and use it in GitHub Desktop.
Save chenenyu/d22f8647c4c06844b6cda82d9470fa58 to your computer and use it in GitHub Desktop.
Android中获取classpath中的plugin依赖
project.rootProject.buildscript.configurations.each {
if (it.name == ScriptHandler.CLASSPATH_CONFIGURATION) { // classpath
it.resolvedConfiguration.firstLevelModuleDependencies.each {
println("${it.moduleGroup}:${it.moduleName}:${it.moduleVersion}")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment