Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it compatible with Gradle 6.0 in future release #147

Open
KleinDevDE opened this issue Sep 27, 2019 · 6 comments
Open

Make it compatible with Gradle 6.0 in future release #147

KleinDevDE opened this issue Sep 27, 2019 · 6 comments

Comments

@KleinDevDE
Copy link

Error

Build file '/home/klein/Dokumente/Development/Workspace/Java/Office/CreditCardBilling/build.gradle' line: 72
A problem occurred evaluating root project 'CreditCardBilling'.
> Failed to apply plugin [id 'javafx-gradle-plugin']
   > Could not create task ':jfxJar'.
      > Unnecessarily replacing a task that does not exist is not supported.  Use create() or register() directly instead.  You attempted to replace a task named 'jfxJar', but there is no existing task with that name.

build.gradle

apply plugin: 'javafx-gradle-plugin'

jfx {
    // minimal requirement for jfxJar-task
    mainClass = 'de.b1systems.trainees.creditcardbilling.Main'

    // minimal requirement for jfxNative-task
    vendor = 'SendMail'
}

./gradle -v

------------------------------------------------------------
Gradle 6.0-20190926235010+0000
------------------------------------------------------------

Build time:   2019-09-26 23:50:10 UTC
Revision:     1da0cdd4c2785cf436cbe262ecd3b43aadf92f14

Kotlin:       1.3.50
Groovy:       2.5.8
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          13 (Ubuntu 13+13-Ubuntu-0ubunt1)
OS:           Linux 5.0.0-29-generic amd64
@FibreFoX
Copy link
Owner

Interesting ... so they removed some "vital" parts of my plugin :( thanks for reporting this (I wasn't aware that the Gradle-project does change that much)

@octo-kumo
Copy link

So is this not going to be fixed?

@debuglevel
Copy link

I just looked around in the forks if someone fixed this. I did not verified it, but icebergteam@8ee1e75 looks like @icebergteam fixed something that seems to to be related. Maybe you could take a look if this is indeed a fix?

@FibreFoX
Copy link
Owner

FibreFoX commented Jan 3, 2021

Thanks for the hint @debuglevel , I will look into it. 2020 was not my best year, so good way for "new year resolutions" 😺

@LionZXY
Copy link

LionZXY commented Jan 4, 2021

@FibreFoX Can I support you somehow? Donate, perhaps?

tuuzed added a commit to tuuzed/javafx-gradle-plugin that referenced this issue Jun 24, 2021
LionZXY added a commit to LionZXY/javafx-gradle-plugin that referenced this issue Jul 13, 2021
@WIPARNAB
Copy link

Hi @FibreFoX , Is there any update on the same?

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

No branches or pull requests

6 participants