Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relast
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Niklas Fors
relast
Merge requests
!1
The source project of this merge request has been removed.
Mquat2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
Mquat2
jastadd/relational-rags:mquat2
into
master
Overview
0
Commits
54
Pipelines
2
Changes
224+
Closed
Johannes Mey
requested to merge
jastadd/relational-rags:mquat2
into
master
6 years ago
Overview
0
Commits
54
Pipelines
2
Changes
224
0
0
Merge request reports
Compare
master
version 1
3872f912
6 years ago
master (base)
and
latest version
latest version
30011b02
54 commits,
6 years ago
version 1
3872f912
53 commits,
6 years ago
224+ files
+
9758
−
42356
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
224+
Some changes are not shown.
For a faster browsing experience, only
224 of 224+
files are shown. Download one of the files below to see all changes.
Plain diff
Patches
buildSrc/src/main/java/org/jastadd/relast/plugin/RelastPlugin.java
0 → 100644
+
33
−
0
View file @ 30011b02
package
org.jastadd.relast.plugin
;
import
org.gradle.api.Plugin
;
import
org.gradle.api.Project
;
import
org.gradle.api.Task
;
import
org.gradle.api.tasks.TaskCollection
;
import
java.util.Set
;
/**
* Plugin for RelAst-Test.
*
* @author rschoene - Initial contribution
*/
public
class
RelastPlugin
implements
Plugin
<
Project
>
{
private
Task
testTask
;
@Override
public
void
apply
(
Project
project
)
{
Set
<
Task
>
tasks
=
project
.
getTasksByName
(
"test"
,
false
);
// there should be only one task "test"
testTask
=
tasks
.
iterator
().
next
();
TaskCollection
<
RelastTest
>
relastTests
=
project
.
getTasks
().
withType
(
RelastTest
.
class
);
relastTests
.
forEach
(
this
::
setupRelastTest
);
relastTests
.
whenTaskAdded
(
this
::
setupRelastTest
);
}
private
void
setupRelastTest
(
RelastTest
relastTest
)
{
testTask
.
dependsOn
(
relastTest
);
relastTest
.
setGroup
(
"verification"
);
}
}
Loading