<div dir="ltr"><div>Hi Mark,</div><div>that worked for me recently:<br></div><div></div><div><br></div><div>in build.gradle change line 546:<br>defineProperty("MAVEN_PUBLISH", "true")<br><br>and line 1730: (add brackets)<br>artifact (project.tasks."modularPublicationJar$t.capital") {<br><br>then <br><div>sh ./gradlew publishToMavenLocal</div><div><br></div><div>Regards</div><div>Bruno<br></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 11, 2023 at 9:59 PM Mark Raynsford <<a href="mailto:org.openjdk@io7m.com" target="_blank">org.openjdk@io7m.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
I'm attempting to experiment with some patches to OpenJFX locally.<br>
<br>
Is there a straightforward way to publish the resulting jar files to my<br>
local ~/.m2 repository?<br>
<br>
There appears to be a `MAVEN_PUBLISH` property, but this just results<br>
in:<br>
<br>
$ sh gradlew -PMAVEN_PUBLISH=true sdk<br>
...<br>
* What went wrong:<br>
A problem occurred configuring root project 'jfx'.<br>
> Failed to notify project evaluation listener.<br>
   > Could not find method classifier() for arguments [linux] on task<br>
':base:modularPublicationJarLinux' of type<br>
org.gradle.api.tasks.bundling.Jar.<br>
   > Could not find method classifier() for arguments [linux] on task<br>
':graphics:modularPublicationJarLinux' of type<br>
org.gradle.api.tasks.bundling.Jar.<br>
   > Could not find method classifier() for arguments [linux] on task<br>
':controls:modularPublicationJarLinux' of type<br>
org.gradle.api.tasks.bundling.Jar.<br>
   > Could not find method classifier() for arguments [linux] on task<br>
':swing:modularPublicationJarLinux' of type<br>
org.gradle.api.tasks.bundling.Jar.<br>
   > Could not find method classifier() for arguments [linux] on task<br>
':fxml:modularPublicationJarLinux' of type<br>
org.gradle.api.tasks.bundling.Jar.<br>
   > Could not find method classifier() for arguments [linux] on task<br>
':media:modularPublicationJarLinux' of type<br>
org.gradle.api.tasks.bundling.Jar.<br>
   > Could not find method classifier() for arguments [linux] on task<br>
':web:modularPublicationJarLinux' of type<br>
org.gradle.api.tasks.bundling.Jar.<br>
<br>
-- <br>
Mark Raynsford | <a href="https://www.io7m.com" rel="noreferrer" target="_blank">https://www.io7m.com</a><br>
<br>
</blockquote></div>