All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javafxports.jfxmobile.plugin.JFXMobileExtension.groovy Maven / Gradle / Ivy

There is a newer version: 2.0.30
Show newest version
package org.javafxports.jfxmobile.plugin

import org.gradle.api.Project
import org.gradle.internal.reflect.Instantiator
import org.gradle.util.ConfigureUtil
import org.javafxports.jfxmobile.plugin.android.AndroidExtension
import org.javafxports.jfxmobile.plugin.embedded.EmbeddedExtension
import org.javafxports.jfxmobile.plugin.ios.IosExtension

/**
 *
 * @author joeri
 */
class JFXMobileExtension {

    String javacEncoding = 'utf-8'
    String javafxportsVersion = "8.60.9"

    DownConfiguration downConfig

    public JFXMobileExtension(Project project, Instantiator instantiator) {
        extensions.create("android", AndroidExtension, project)
        extensions.create("ios", IosExtension, project)
        extensions.create("embedded", EmbeddedExtension, project)

        downConfig = instantiator.newInstance(DownConfiguration, project)
    }

    void downConfig(Closure configureClosure) {
        ConfigureUtil.configure(configureClosure, downConfig)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy