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

fixes netty-tcnative-boringssl-static dependency resolution #1001

Merged
merged 1 commit into from
May 13, 2021
Merged

fixes netty-tcnative-boringssl-static dependency resolution #1001

merged 1 commit into from
May 13, 2021

Conversation

seregamorph
Copy link
Contributor

Fix resolution of netty-tcnative-boringssl-static artifact classifier.

Motivation:

On apple m1 mac, that is resolved as osdetector.classifier="osx-aarch_64" in gradle IntelliJ fails to import the project with diagnostics:

Could not find netty-tcnative-boringssl-static-2.0.36.Final-osx-aarch_64.jar (io.netty:netty-tcnative-boringssl-static:2.0.36.Final).

Modifications:

Root cause is wrong resolution of os_suffix variable. Fixed.

Result:

Verified on architectures: osx-aarch_64, linux-x86_64, osx-x86_64.

Apple M1 machines now can import the project and execute tests via gradle CLI.

@@ -23,7 +23,7 @@ plugins {
}

def os_suffix = ""
if (osdetector.classifier in ["linux-x86_64"] || ["osx-x86_64"] || ["windows-x86_64"]) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this condition was always true (constant)

Copy link
Member

@OlegDokuka OlegDokuka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@seregamorph
Copy link
Contributor Author

Hey. Still any concerns/objections about it?

@OlegDokuka OlegDokuka changed the title Fix netty-tcnative-boringssl-static dependency resolution fixes netty-tcnative-boringssl-static dependency resolution May 13, 2021
@OlegDokuka OlegDokuka merged commit 42e98f2 into rsocket:master May 13, 2021
@OlegDokuka
Copy link
Member

@seregamorph thank you for this contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants