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

Native libraries related changes #53

Merged
merged 2 commits into from
May 19, 2024
Merged

Native libraries related changes #53

merged 2 commits into from
May 19, 2024

Conversation

squid233
Copy link
Member

@squid233 squid233 commented May 18, 2024

Summary

Changes related to native libraries.

Motivation

Description

Change native libraries file structure and support more architectures.

Supports to Gradle variants.

Using Gradle variants to conveniently add native jars:

configurations.runtimeClasspath.get().attributes {
    attribute(OperatingSystemFamily.OPERATING_SYSTEM_ATTRIBUTE, objects.named("windows"))
    attribute(MachineArchitecture.ARCHITECTURE_ATTRIBUTE, objects.named("x64"))
}

dependencies {
    implementation(platform("io.github.over-run:overrungl-bom:0.1.0-SNAPSHOT"))
    implementation("io.github.over-run:overrungl")
    implementation("io.github.over-run:overrungl-glfw")
}

// configure preview features and JDK version...

Additional Context

See #38.


@squid233 squid233 added enh Enhancement: new feature or request P3 Medium priority, loss of function labels May 18, 2024
@squid233 squid233 added this to the 0.1.0 milestone May 18, 2024
@squid233 squid233 self-assigned this May 18, 2024
@squid233 squid233 changed the title Change native libraries structure Native libraries related changes May 19, 2024
@squid233 squid233 marked this pull request as ready for review May 19, 2024 06:47
@squid233 squid233 requested a review from a team as a code owner May 19, 2024 06:47
@squid233 squid233 mentioned this pull request May 19, 2024
1 task
@squid233 squid233 merged commit 2d53d84 into main May 19, 2024
3 checks passed
@squid233 squid233 deleted the os branch May 19, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh Enhancement: new feature or request P3 Medium priority, loss of function
Projects
Status: ✅ Closed / Delivered
Development

Successfully merging this pull request may close these issues.

Feature: Add support to FreeBSD x64 and Linux architecture ppc64le and riscv64
1 participant