mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-14 00:48:57 +08:00
Kotlin and general Gradle support. (#745)
This commit is contained in:
1 parent
29d0a20dc3
commit
d787050fa8
19 files changed
+202
-4
No files matched your search
@@ -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