mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
Cordapps now contain their own dependencies (#915)
* Cordapps now contain all explicitly specified dependencies (and sub dependencies). * Removed some useless compile dependencies for trader demo. * Dependent Cordapps are excluded from the build. :Removed unnecessary dependencies of demos. * Cleaned up exclusion rules for cordapp dependencies.
This commit is contained in:
@ -24,8 +24,7 @@ public class CordaCaplet extends Capsule {
|
||||
// defined as public static final fields on the Capsule class, therefore referential equality is safe.
|
||||
if (ATTR_APP_CLASS_PATH == attr) {
|
||||
T cp = super.attribute(attr);
|
||||
List<Path> classpath = augmentClasspath((List<Path>) cp, "plugins");
|
||||
return (T) augmentClasspath(classpath, "dependencies");
|
||||
return (T) augmentClasspath((List<Path>) cp, "plugins");
|
||||
}
|
||||
return super.attribute(attr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user