Lines Matching refs:file
5 * you may not use this file except in compliance with the License.
36 import org.eclipse.aether.transport.file.FileTransporterFactory
155 def boolean isInGit(File file) {
156 if (!file.getCanonicalPath().startsWith(localRepoDir.getCanonicalPath())) {
157 println("$file is in another git repo, ignore for license")
160 def gitSt = ["git", "status", "--porcelain", file.getCanonicalPath()].
164 throw new RuntimeException("unable to get git status for $file. ${gitSt.err.text}")
188 def alreadyInGit = isInGit(resolved.artifact.file)
189 println(" |-> resolved ${resolved.artifact.file}. Already in git? $alreadyInGit")
236 File unwanted = new File(resolved.artifact.file.getParentFile(), "_remote.repositories")