Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
ProB Rodin Plugin
Commits
3e175954
Commit
3e175954
authored
1 year ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused tycho_build.gradle exclude properties
parent
935f0988
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tycho_build.gradle
+30
-46
30 additions, 46 deletions
tycho_build.gradle
with
30 additions
and
46 deletions
tycho_build.gradle
+
30
−
46
View file @
3e175954
...
@@ -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
()
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment