mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 09:54:13 +00:00
support importNode
This commit is contained in:
parent
c65e459208
commit
7bb99d3da9
@ -52,7 +52,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
group = "org.bdware.sc"
|
group = "org.bdware.sc"
|
||||||
|
|
||||||
version = "1.7.3"
|
version = "1.7.4"
|
||||||
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
||||||
|
|
||||||
task copyLibs(type: Copy) {
|
task copyLibs(type: Copy) {
|
||||||
|
@ -14,6 +14,8 @@ public class ImportNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getPath() {
|
public String getPath() {
|
||||||
|
if (path.startsWith("@"))
|
||||||
|
path.replaceAll("@", "/.depyjs/");
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,6 @@ public class ContractReader extends YJSParserBaseVisitor<ContractNode> {
|
|||||||
// ctx.getSourceInterval()
|
// ctx.getSourceInterval()
|
||||||
discoverFunctionDependency(node, contractDelcar);
|
discoverFunctionDependency(node, contractDelcar);
|
||||||
discoverContractDependency(node, contractDelcar);
|
discoverContractDependency(node, contractDelcar);
|
||||||
|
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user