Skip to content

Make it compatible with Gradle 6.0 in future release #147

@KleinDevDE

Description

@KleinDevDE

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions