Classifier ignored for statically linked libraries
zekronium opened this issue · comments
zekronium commented
It seems to be that since 2.0.50.Final
its not possible to get just the specified classifier as per the wiki which results only the full Uber jar downloaded
Behavior after >= 2.0.50.Final
This is the pom.xml
dependencies
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.63.Final</version>
<classifier>linux-x86_64</classifier>
</dependency>
Behavior is the same with ${os.detected.classifier}
David Gerber commented
Still happens with 2.0.65 and Gradle. I use:
implementation "io.netty:netty-tcnative-boringssl-static::windows-x86_64"
but I see all architectures in the resulting jar.
David Gerber commented
Well, scratch my previous comment. There was a mistake in my build script and I got it to work properly.