I'm writing an EJB jar module for a jboss ear application. I'm using gradle and I don't want to try to declare all of the different dependencies that the jar would rely on at runtime from JBoss. Is there a way to declare dependencies on all files within a directory tree.
相关问题
- Could not read entry … from cache taskArtifacts.bi
- Configure gradle plugin based on future tasks
- How to fix the error Cannot change strategy of con
- Include pom.xml in Jar with gradle
- Gradle vs Compiler
相关文章
- Android BuildConfig Field generating String incorr
- Gradle Could not find method “() for arguments on
- Gradle Custom Plugin: gradleApi() vs Explicit Depe
- Android Studio 3.5 ERROR: Unable to resolve depend
- How to specify @category in test task in gradle?
- What is a good way to deploy a Perl application?
- How to clean your build with Flutter RP2 in Androi
- Remove transitive classpath dependency in gradle
In the dependencies section of your
build.gradle
file you can use aFileTree
reference. For example:This will include all of the JAR files in the JBoss / client directory as compile-time dependencies.