Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use empty string to disable version #512

Merged
merged 1 commit into from Sep 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/docs/configuration/README.md
Expand Up @@ -14,10 +14,10 @@ details.
## Configuring Output Name

Shadow configures the default `shadowJar` task to set the output JAR's `destinationDir`, `baseName`, `appendix`,
`version`, and `extension` to the same default values as Gradle does for all `Jar` tasks.
`archiveVersion`, and `extension` to the same default values as Gradle does for all `Jar` tasks.
Additionally, it configures the `classifier` to be `all`.

If working with a Gradle project with the name `myApp` and version `1.0`, the default `shadowJar` task will output a
If working with a Gradle project with the name `myApp` and archiveVersion `1.0`, the default `shadowJar` task will output a
file at: `build/libs/myApp-1.0-all.jar`

As with all `Jar` tasks in Gradle, these values can be overridden:
Expand All @@ -26,8 +26,8 @@ As with all `Jar` tasks in Gradle, these values can be overridden:
// Output to build/libs/shadow.jar
shadowJar {
baseName = 'shadow'
classifier = null
version = null
classifier = ''
archiveVersion = ''
}
```

Expand Down