mirror of
https://github.com/amix/vimrc
synced 2025-07-12 22:24:59 +08:00
Removed syntastic and replaced it with ale
Read more here: https://github.com/w0rp/ale
This commit is contained in:
23
sources_non_forked/ale/autoload/ale/gradle/init.gradle
Normal file
23
sources_non_forked/ale/autoload/ale/gradle/init.gradle
Normal file
@ -0,0 +1,23 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user