Using the plugins DSL:
Groovy
plugins {
id "org.jfxcore.fxmlplugin" version "0.11.0"
}Kotlin
plugins {
id("org.jfxcore.fxmlplugin") version "0.11.0"
}Using legacy plugin application:
Groovy
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jfxcore:fxml-gradle-plugin:0.11.0"
}
}
apply plugin: "org.jfxcore.fxmlplugin"Kotlin
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("org.jfxcore:fxml-gradle-plugin:0.11.0")
}
}
apply(plugin = "org.jfxcore.fxmlplugin")