JavaFX 11 snapshots in maven sonatype
Scott Palmer
swpalmer at gmail.com
Sun Jul 8 17:03:59 UTC 2018
If separate Gradle processes produce the artifacts, there is probably a way to bring them together and (re-)publish them together in yet another project.
Scott
> On Jul 8, 2018, at 8:38 AM, Johan Vos <johan.vos at gluonhq.com> wrote:
>
> I don't think that will help, as the artifacts for the different platforms
> are not created inside the same gradle process. We don't do
> cross-compiling, so for each compileTarget a different machine and a
> different build process is used.
> Hence, I think we have to deal with separate publications anyhow, right?
>
> - Johan
>
>> On Sun, Jul 8, 2018 at 11:06 AM Kenzie Togami <ket1999 at gmail.com> wrote:
>>
>> Hi Johan,
>>
>>> It is very inconvenient, so if you know an easy way to get all snapshot
>> version to be equal, I would love to hear that.
>>
>> I think that the varying snapshots versions probably occur because a
>> separate publication is set up for each `compileTarget`:
>> https://github.com/javafxports/openjdk-jfx/pull/83/files#diff-c197962302397baf3a4cc36463dce5eaR1564
>> I haven't used the Gradle maven-publish plugin yet but I think it could
>> work if you instead iterate over each target where the artifacts are
>> generated, which is the only place it's used anyways:
>>
>> compileTargets { t ->
>> artifact project.tasks."moduleEmptyPublicationJar$t.capital"
>> artifact project.tasks."modularPublicationJar$t.capital" {
>> classifier "$t.name"
>> }
>> }
More information about the openjfx-dev
mailing list