physx-jni icon indicating copy to clipboard operation
physx-jni copied to clipboard

How to add to maven

Open zzhgithub opened this issue 1 year ago • 1 comments

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

zzhgithub avatar Mar 29 '24 17:03 zzhgithub

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>

pcloves avatar May 23 '24 09:05 pcloves