Skip to content
Snippets Groups Projects
Commit b6209115 authored by René Schöne's avatar René Schöne
Browse files

0.2.12

- generated file of ragconnect is only RagConnect.jadd (no handlers based on protocols)
parent 9e2ebccc
No related branches found
No related tags found
No related merge requests found
Pipeline #12572 passed
......@@ -5,7 +5,7 @@ plugins {
}
group 'org.jastadd.preprocessor'
version '0.2.11'
version '0.2.12'
mainClassName = 'org.jastadd.preprocessor.testing.doc.DocumentationCreator'
gradlePlugin {
......
......@@ -53,19 +53,9 @@ public abstract class RagConnectTest extends RelastTest {
@OutputFiles
public List<File> aspectFilesGeneratedByRagconnect() {
// files are RagConnect.jadd and the handler
// file is only RagConnect.jadd
List<File> result = new ArrayList<>();
result.add(resolveOutputDir("RagConnect.jadd"));
List<String> protocols = getRagconnect().getProtocols();
if (protocols == null || protocols.isEmpty() || protocols.contains("mqtt")) {
result.add(resolveOutputDir("MqttHandler.jadd"));
}
if (protocols != null && protocols.contains("rest")) {
result.add(resolveOutputDir("RestHandler.jadd"));
}
if (protocols != null && protocols.contains("java")) {
result.add(resolveOutputDir("JavaHandler.jadd"));
}
return result;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment