Yes, that is why I filed https://bugs.openjdk.org/browse/JDK-8333147 (which hints at a fix: Instead of `classifier "$t.name"` we should now use `archiveClassifier.set( t.name)` )
- Johan On Wed, May 29, 2024 at 4:58 PM John Neffenger <j...@status6.com> wrote: > On 5/29/24 12:19 AM, Joeri Sykora wrote: > > maven artifacts are generated when providing the following gradle > > property: -PMAVEN_PUBLISH=true > > I can't get that to work. Is there some other option I need to pass? > > $ bash gradlew -PMAVEN_PUBLISH=true publishToMavenLocal > > FAILURE: Build failed with an exception. > > * Where: > Build file '/home/ubuntu/src/jfx/build.gradle' line: 1734 > > * What went wrong: > A problem occurred configuring root project 'jfx'. > > Failed to notify project evaluation listener. > > Could not find method classifier() for arguments [linux] on task > ':base:modularPublicationJarLinux' of type > org.gradle.api.tasks.bundling.Jar. > > Could not find method classifier() for arguments [linux] on task > ':graphics:modularPublicationJarLinux' of type > org.gradle.api.tasks.bundling.Jar. > > Could not find method classifier() for arguments [linux] on task > ':controls:modularPublicationJarLinux' of type > org.gradle.api.tasks.bundling.Jar. > > Could not find method classifier() for arguments [linux] on task > ':swing:modularPublicationJarLinux' of type > org.gradle.api.tasks.bundling.Jar. > > Could not find method classifier() for arguments [linux] on task > ':fxml:modularPublicationJarLinux' of type > org.gradle.api.tasks.bundling.Jar. > > Could not find method classifier() for arguments [linux] on task > ':media:modularPublicationJarLinux' of type > org.gradle.api.tasks.bundling.Jar. > > Could not find method classifier() for arguments [linux] on task > ':web:modularPublicationJarLinux' of type > org.gradle.api.tasks.bundling.Jar. > > John > >