Commit 73cd0eb
committed
Replace deprecated Jar.classifier with archiveClassifier
The Jar task property `classifier` was deprecated in Gradle 5.1 and
removed in Gradle 7.0. Builds using Gradle 7+ fail with:
Could not set unknown property 'classifier' for task ':idl-parser:sourceJar'
of type org.gradle.api.tasks.bundling.Jar.
Replace both usages with the current `archiveClassifier` property,
which has been available since Gradle 5.1 and is the supported API
going forward.
This unblocks projects that depend on IDL-Parser (e.g. Fast-DDS-Gen)
from upgrading their Gradle wrapper to 7.x or later.
Signed-off-by: Tuguberk <akbulut.tugberk@gmail.com>1 parent af0ef1f commit 73cd0eb
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments