e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
23 lines
643 B
Groovy
23 lines
643 B
Groovy
class ClasspathPlugin implements Plugin<Project> {
|
|
void apply(Project project) {
|
|
project.task('printClasspath') {
|
|
doLast {
|
|
project
|
|
.rootProject
|
|
.allprojects
|
|
.configurations
|
|
.flatten()
|
|
.findAll { it.name.endsWith('Classpath') }
|
|
.collect { it.resolve() }
|
|
.flatten()
|
|
.unique()
|
|
.findAll { it.exists() }
|
|
.each { println it }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject {
|
|
apply plugin: ClasspathPlugin
|
|
}
|