Created
August 1, 2018 02:59
-
-
Save chenenyu/d22f8647c4c06844b6cda82d9470fa58 to your computer and use it in GitHub Desktop.
Android中获取classpath中的plugin依赖
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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