Skip to content
Snippets Groups Projects
Commit 3e175954 authored by dgelessus's avatar dgelessus
Browse files

Remove unused tycho_build.gradle exclude properties

parent 935f0988
Branches
No related tags found
No related merge requests found
...@@ -14,18 +14,6 @@ apply plugin: 'base' ...@@ -14,18 +14,6 @@ apply plugin: 'base'
import groovy.io.FileType import groovy.io.FileType
project.ext.tychoVersion = "2.7.5" project.ext.tychoVersion = "2.7.5"
try {
excludeFromTychoBuild = excludeFromTychoBuild
} catch (MissingPropertyException e) {
project.ext.excludeFromTychoBuild = []
}
try {
excludeFromClassPath = excludeFromClassPath
} catch (MissingPropertyException e) {
project.ext.excludeFromClassPath = []
}
try { try {
workspacePath = workspacePath workspacePath = workspacePath
} catch (MissingPropertyException e) { } catch (MissingPropertyException e) {
...@@ -220,7 +208,6 @@ subprojects { ...@@ -220,7 +208,6 @@ subprojects {
description = "\tAdds all your Dependencies from your local lib folder in each project to it's classpath" description = "\tAdds all your Dependencies from your local lib folder in each project to it's classpath"
doLast { doLast {
if (excludeFromClassPath.every {it != project.name}) {
def dependencyList = [] def dependencyList = []
def depsFolder = new File(workspacePath + project.name + "/" + dependencyFolder) def depsFolder = new File(workspacePath + project.name + "/" + dependencyFolder)
if (depsFolder.exists()) { if (depsFolder.exists()) {
...@@ -258,7 +245,6 @@ subprojects { ...@@ -258,7 +245,6 @@ subprojects {
} }
} }
} }
}
task deleteFromClassPath(){ task deleteFromClassPath(){
description = "\tDeletes all your Dependencies located in your local lib folder from each project's classpath" description = "\tDeletes all your Dependencies located in your local lib folder from each project's classpath"
...@@ -375,10 +361,8 @@ task createParent() { ...@@ -375,10 +361,8 @@ task createParent() {
f << endRepos() f << endRepos()
f << moduleStart() f << moduleStart()
subprojects.each {subproj -> subprojects.each {subproj ->
if (excludeFromTychoBuild.every {it != subproj.name}) {
f << module(subproj.name) f << module(subproj.name)
} }
}
f << module(repositoryName) f << module(repositoryName)
f << endParent() f << endParent()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment