From a35ca147e3d3a2d8280738fa669920240206fb6a Mon Sep 17 00:00:00 2001 From: "haoeliu@foxmail.com" Date: Wed, 9 Nov 2022 19:17:35 +0800 Subject: [PATCH] resolve merging conflicts --- build.gradle | 16 ++++++++-------- .../java/org/bdware/sc/compiler/ap/DOOP.java | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 src/main/java/org/bdware/sc/compiler/ap/DOOP.java diff --git a/build.gradle b/build.gradle index f8c490a..0f61c2d 100644 --- a/build.gradle +++ b/build.gradle @@ -172,18 +172,18 @@ publishing { maven { name 'bdwareSnapshotRepository' url 'https://oss.sonatype.org/content/repositories/snapshots' - credentials { - username = "${NEXUS_USERNAME}" - password = "${NEXUS_PASSWORD}" - } +// credentials { +// username = "${NEXUS_USERNAME}" +// password = "${NEXUS_PASSWORD}" +// } } maven { name 'bdwareRepository' url 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - credentials { - username = "${NEXUS_USERNAME}" - password = "${NEXUS_PASSWORD}" - } +// credentials { +// username = "${NEXUS_USERNAME}" +// password = "${NEXUS_PASSWORD}" +// } } } } diff --git a/src/main/java/org/bdware/sc/compiler/ap/DOOP.java b/src/main/java/org/bdware/sc/compiler/ap/DOOP.java new file mode 100644 index 0000000..d0d546d --- /dev/null +++ b/src/main/java/org/bdware/sc/compiler/ap/DOOP.java @@ -0,0 +1,18 @@ +package org.bdware.sc.compiler.ap; + +import org.bdware.doip.codec.operations.BasicOperations; +import org.bdware.sc.compiler.AnnotationProcessor; +import org.bdware.sc.node.AnnotationNode; +import org.bdware.sc.node.ContractNode; +import org.bdware.sc.node.FunctionNode; + +import java.util.HashMap; +import java.util.Map; + +// DOOP is designed for DoipModule which contains specific functions for RepositoryHandler +public class DOOP extends AnnotationProcessor { + @Override + public void processFunction(AnnotationNode anno, ContractNode contractNode, FunctionNode functionNode) { + + } +}