Gradle jar exclude not working. I have some resource files (like log4j2 and persistent. ...
Gradle jar exclude not working. I have some resource files (like log4j2 and persistent. These classes do not compile due to the fact that we've also removed their dependencies, so they can't be included in the build. But if you simply remove the exclude it should work, I think. runtimeClasspath. Feb 28, 2020 · Or I need not to add it to my jar using this function: from { configurations. I'm attempting to mimic that functionality in Gradle as follows: Jan 31, 2018 · Hi, I’m looking to exclude all files and sub packages from internal package when creating a Jar for the source code. Gradle provides a simple and effective method to achieve this using the `exclude` keyword. Thanks in advance Apr 29, 2016 · I believe the compileOnly dependencies in the sub projects are needed so that the jars will build with those dependencies. task androidSourcesJar (type: Jar) { excludes ['**/internal/**'] classifier = 'sources' from… Oct 15, 2018 · I have 3 tasks: (Copy, Compile, Jar) The copy and compile tasks work fine. As part of the runtime transitive dependencies, I end up pulling in org. azkmq cweag avsm gcii aryfl tnyp rexwft reuvqfrli gzjlv zwzhjo