-
Notifications
You must be signed in to change notification settings - Fork 8
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
dev.nokee.jni-library build fails on M1 #852
Comments
I will have a look at this soon. I'm a bit more offline than usual this past month. However, try the latest version from here: https://services.nokee.dev/versions/latest-snapshot.json There's a newer snapshot but that one should have support for aarch64. |
I can confirm that the following resolved the architecture issue on my M1: // settings.gradle
pluginManagement {
repositories {
gradlePluginPortal()
maven { url = uri('https://repo.nokee.dev/release') }
maven { url = uri('https://repo.nokee.dev/snapshot') }
}
resolutionStrategy {
eachPlugin {
if (requested.id.id.startsWith('dev.nokee.')) {
useModule "${requested.id.id}:${requested.id.id}.gradle.plugin:0.4.3129-202303171612.d413fb13"
}
}
}
} // build.gradle
plugins {
id 'dev.nokee.c-application' // or whatever
} |
Still get the error message with version 0.4.3129-202303171612.d413fb13
|
Hey, I am trying to build a JNI library, and stumbled upon this plugin, looks pretty cool :).
However, when I try to import
dev.nokee.jni-library
, I am receiving the following exception:Importing
id("dev.nokee.cpp-language")
seems to work fine though.I am using a M1 MBP.
My build.gradle.kts contains:
With my settings.gradle.kts looking like:
The text was updated successfully, but these errors were encountered: