Comments (1)
you could manually create your own ShadowJar
task with whatever sources you want. the shadowJar
task created by the plugin is the convention based one and the convention is to include sourceSets.main.output
. So something like this (not a complete example):
task customJar(type: ShadowJar) {
from configurations.runtime
from sourceSets.test.output
}
Don't forget to configure the archive name and such.
from shadow.
Related Issues (20)
- Plugin is incompatible with isolated projects feature HOT 2
- Future home/support for Shadow? HOT 20
- Gigantic jar when using Gradle 8.x HOT 4
- Unsupported class file major version 65 HOT 7
- Add a getter on ShadowCopyAction.ArchiveFileTreeElement to access the containing jar file name HOT 2
- How can i upgrade the jackson-databin jar version that included in the shade jar htrace-core4 HOT 2
- ShadowJar will report ZipException but not actually fail the build, creating invalid artifacts. HOT 1
- Relocating packages is also changing properties HOT 2
- Can't understand Expression 'shadowJar' HOT 1
- shadow plugin ignores jar files in resource folder
- Can't use the same module name as archive file name for the jar file HOT 2
- Create shadow jar after remapping HOT 1
- Exclude dependencies specified in libs-file?
- Gradle Warning: CopyProcessingSpec.setFileMode(Integer) method has been deprecated HOT 1
- Documentation says `destinationDir` which has been changed for `destinationDirectory` HOT 1
- NettyChannelBuilder can't locate the name resolver provider from service files when build with minimize shadowJar
- FileTreeElement.getMode()-deprecation notice HOT 2
- Redirect the old Maven coordinate to the new one HOT 2
- Old shadow versions are unreachable HOT 4
- Jar not being built when setting archiveClassifier to empty or null
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadow.