javafx-gradle-plugin icon indicating copy to clipboard operation
javafx-gradle-plugin copied to clipboard

Prevent the default variants to be used as fallback

Open Vampire opened this issue 2 years ago • 1 comments

Currently if you for example request Windows/x86, as no variant is configured for it, you get the default variants with the empty jars. With this additional attribute change, you instead get an error that no matching variant is found.

@jjohannes what do you think?

Vampire avatar Jan 22 '24 00:01 Vampire

I've just seen this is also done in the LWJGL example in the Gradle docs: https://docs.gradle.org/current/userguide/component_metadata_rules.html#adding_variants_for_native_jars

Vampire avatar Jan 22 '24 03:01 Vampire