logo
down
shadow

error: module not found: org.lwjgl.natives in multi-module gradle build


error: module not found: org.lwjgl.natives in multi-module gradle build

Content Index :

error: module not found: org.lwjgl.natives in multi-module gradle build
Tag : gradle , By : user133834
Date : January 12 2021, 01:40 AM

this will help Your module-info.class doesn't need to include any natives at all.
Remove all the .nativess from each requires.
["", "-assimp", "-glfw", "-openal", "-opengl", "-stb"].each {
    String base = "org.lwjgl:lwjgl$it:$lwjgl_version"
    implementation base
    runtimeOnly = "$base:natives-$lwjgl_natives"
}

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Multi-Module Gradle Build Issue - No resource found that matches the give name


Tag : java , By : afarouk
Date : March 29 2020, 07:55 AM
this one helps. Your LibraryModule should use the android-library gradle plugin. You can't share res between 2 application modules.

ERROR in multi common Module not found: Error: Cannot resolve module 'react-router' in /path-to-project/app-name @ multi


Tag : node.js , By : nickthecook
Date : March 29 2020, 07:55 AM
This might help you Those errors mean that you haven't installed the corresponding modules. Run npm install --save alt react-router.

Gradle multi-modules: If gradle.build file is changed for each sub module. No tasks are available


Tag : gradle , By : 03B
Date : March 29 2020, 07:55 AM
I hope this helps you . As long as each subproject's build file name matches the subproject name, you can update your settings.gradle file with:
rootProject.children.each {
    it.buildFileName = "${it.name}.gradle"
}

LWJGL project error in pom.xml: Missing artifact org.lwjgl:lwjgl-platform:jar:natives-windows:${lwjgl.version}


Tag : java , By : user160048
Date : March 29 2020, 07:55 AM
I wish did fix the issue. You should define a property for ${lwjgl.version}. As you can see at Maven Central, the only version of this artifact is 3.0.0 and you must explicitly define it. Please replace your tag with the following:
<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <lwjgl.version>3.0.0</lwjgl.version>
</properties>

Asking Gradle to skip a module in multi-module build


Tag : gradle , By : mtnmuncher
Date : March 29 2020, 07:55 AM
Related Posts Related QUESTIONS :
shadow
Privacy Policy - Terms - Contact Us © scrbit.com