Skip to content

Conversation

@Siedlerchr
Copy link
Member

@Siedlerchr Siedlerchr commented Nov 18, 2025

@koppor
Copy link
Member

koppor commented Nov 19, 2025

We need to change the LICENSE (our file in the root repository) to Apache 2.0 (because of the code coming in - and we don't want to maintain multiple licenses) -

@@ -0,0 +1,3 @@
module mvvmfx.validation {
requires javafx.base;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the module javafx iis not found @koppor

@Siedlerchr
Copy link
Member Author

Siedlerchr commented Nov 22, 2025

Resolution ambiguation, so the mapping is not applied..

 Could not resolve all dependencies for configuration ':mvvmfx-validation:compileClasspath'.
   > Could not resolve org.openjfx:javafx-base.
     Required by:
         project ':mvvmfx-validation'
      > The consumer was configured to find a library for use during compile-time, compatible with Java 24, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'javaModule' with value 'true'. However we cannot choose between the following variants of org.openjfx:javafx-base:24:
          - compile
          - linux-aarch64Compile
          - linuxCompile
          - mac-aarch64Compile
          - macCompile
          - winCompile
        All of them match the consumer attributes:
          - Variant 'compile' capability 'org.openjfx:javafx-base:24' declares a library for use during compile-time, packaged as a jar:
              - Unmatched attributes:
                  - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
                  - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
                  - Doesn't say anything about its target Java version (required compatibility with Java 24)
                  - Doesn't say anything about javaModule (required 'true')
                  - Provides attribute 'org.gradle.native.architecture' with value 'none' but the consumer didn't ask for it
                  - Provides attribute 'org.gradle.native.operatingSystem' with value 'none' but the consumer didn't ask for it
                  - Provides release status but the consumer didn't ask for it
          - Variant 'linux-aarch64Compile' capability 'org.openjfx:javafx-base:24' declares a library for use during compile-time, packaged as a jar:

@Siedlerchr
Copy link
Member Author

Skipping 'org.openjfx:javafx-base' - no mapping - run ':analyzeModulePath' for more details

@Siedlerchr
Copy link
Member Author

@jjohannes May I ask for some help here? I have troubles with the javafx configuration. I copied, adjusted and verified the gradle plugin files etc and compared them with JabRef's setup but somehow the mapping is not found and this results in ambigous resolution of javafx. It's probably some simple stupid thing I overlooked, but I am unable to spot it. Any help would be appreciated 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants