Skip to content

Commit b403c47

Browse files
committed
Add task to run extended features
1 parent 26be76e commit b403c47

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ run {
1818
if (project.hasProperty('runArgs')) {
1919
args findProperty('runArgs')
2020
} else {
21-
args = ['ist.meic.pa.GenericFunctions.examples.combine.CombineExample']
21+
args = ['ist.meic.pa.GenericFunctions.examples.TestJ']
22+
}
23+
}
24+
25+
task runExtended (type: JavaExec) {
26+
classpath sourceSets.main.runtimeClasspath
27+
main = 'ist.meic.pa.GenericFunctionsExtended.WithGenericFunctions'
28+
if (project.hasProperty('runArgs')) {
29+
args findProperty('runArgs')
30+
} else {
31+
args = ['ist.meic.pa.GenericFunctionsExtended.examples.TestJ']
2232
}
2333
}
2434

0 commit comments

Comments
 (0)