fabmax / physx-jni

Java JNI bindings for Nvidia PhysX
MIT License
85 stars 8 forks source link

How to add to maven #67

Open zzhgithub opened 3 months ago

zzhgithub commented 3 months ago

image

    <dependency>
        <groupId>de.fabmax</groupId>
        <artifactId>physx-jni</artifactId>
        <version>2.3.1</version>
    </dependency>

And I am not find any pom like physx-jni-natives-macos

pcloves commented 2 months ago

add

image

    <dependency>
        <groupId>de.fabmax</groupId>
        <artifactId>physx-jni</artifactId>
        <version>2.3.1</version>
    </dependency>

And I am not find any pom like physx-jni-natives-macos

just add native dependencies to pom:

        <dependency>
            <groupId>de.fabmax</groupId>
            <artifactId>physx-jni</artifactId>
            <version>2.3.1</version>
            <classifier>natives-macos</classifier>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>de.fabmax</groupId>
            <artifactId>physx-jni</artifactId>
            <version>2.3.1</version>
            <classifier>natives-macos-arm64</classifier>
            <scope>runtime</scope>
        </dependency>