aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.vim/autoload/neomake/makers/ft/java
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-03-31 17:52:49 +0300
committerYaroslav <contact@yaroslavps.com>2020-03-31 17:52:49 +0300
commit7217c7749e5403c9c7856c1d12c7986eb9c3b460 (patch)
treed60a112d9119a51af1cf5f590c5efad81751edf6 /dotfiles/.vim/autoload/neomake/makers/ft/java
parent9a3aa7b20a67c1b7991da1da9508ad5f78f76352 (diff)
downloadvimrice-7217c7749e5403c9c7856c1d12c7986eb9c3b460.tar.gz
vimrice-7217c7749e5403c9c7856c1d12c7986eb9c3b460.zip
Goodbye vim, been using neovim for ages now; home directory cleanup
Diffstat (limited to 'dotfiles/.vim/autoload/neomake/makers/ft/java')
-rw-r--r--dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.gradle46
-rw-r--r--dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.py15
2 files changed, 0 insertions, 61 deletions
diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.gradle b/dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.gradle
deleted file mode 100644
index f548c0d..0000000
--- a/dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.gradle
+++ /dev/null
@@ -1,46 +0,0 @@
-task classpath << {
-
- String finalFileContents = ""
- HashSet<String> classpathFiles = new HashSet<String>()
- for (proj in allprojects) {
-
- def exploded = proj.getBuildDir().absolutePath + File.separator + "intermediates" + File.separator + "exploded-aar"
- def listFiles = new File(exploded)
- if (listFiles.exists()) {
- listFiles.eachFileRecurse(){ file ->
- if (file.name.endsWith(".jar")){
- classpathFiles += file
- }
- }
- }
-
- def rjava = proj.getBuildDir().absolutePath + File.separator + "intermediates" + File.separator + "classes" + File.separator + "debug"
- def rFiles = new File(rjava)
- if (rFiles.exists()) {
- classpathFiles += rFiles
- }
-
- for (conf in proj.configurations) {
- for (dependency in conf) {
- if (dependency.name.endsWith("aar")){
- } else {
- classpathFiles += dependency
- }
- }
- }
- if (proj.hasProperty("android")){
- classpathFiles += proj.android.bootClasspath
- }
-
- if (proj.hasProperty("sourceSets")) {
-
- for (srcSet in proj.sourceSets) {
- for (dir in srcSet.java.srcDirs) {
- classpathFiles += dir.absolutePath
- }
- }
- }
- }
- def paths = classpathFiles.join(File.pathSeparator)
- println "CLASSPATH:" + paths
-}
diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.py b/dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.py
deleted file mode 100644
index 5a7ea8d..0000000
--- a/dotfiles/.vim/autoload/neomake/makers/ft/java/classpath.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import os
-from xml.etree.ElementTree import *
-
-
-def ReadClasspathFile(fn):
- cp = []
- for a in parse(fn).findall('classpathentry'):
- kind = a.get('kind')
- if kind == 'src' and 'output' in a.keys():
- cp.append(os.path.abspath(a.get('output')))
- elif kind == 'lib' and 'path' in a.keys():
- cp.append(os.path.abspath(a.get('path')))
- elif kind == 'output' and 'path' in a.keys():
- cp.append(os.path.abspath(a.get('path')))
- return cp