<commit_before>package lt.markmerkk.export

import lt.markmerkk.export.icons.GenIconMac
import lt.markmerkk.export.icons.GenIconWindows
import lt.markmerkk.export.tasks.BundleTask
import lt.markmerkk.export.tasks.JBundleExtension
import org.gradle.api.DefaultTask
import org.gradle.api.Plugin
import org.gradle.api.Project

class JBundlePlugin: Plugin<Project> {

    override fun apply(project: Project) {
        val extension: JBundleExtension = project.extensions.create(
                EXTENSION_NAME,
                JBundleExtension::class.java,
                project)
        project.tasks.register(
                "${NAME_PLUGIN}Create",
                BundleTask::class.java
        ) {
            group = NAME_PLUGIN
            description = "Creates and exports bundle"
            init(
                    appName = extension.appName,
                    versionName = extension.version,
                    mainJarFilePath = extension.mainJarFilePath,
                    mainClassName = extension.mainClassName,
                    mainIconFilePath = extension.mainIconFilePath
            )
            doFirst {
                debugPrint()
            }
            setDependsOn(listOf(":${project.name}:build"))
        }
        project.tasks.register(
                "${NAME_PLUGIN}GenIconMac",
                GenIconMac::class.java
        ) {
            group = NAME_PLUGIN
            description = "Generates icons for MacOSX"
            init(
                    mainIconFilePath = extension.mainIconFilePath,
                    scriptsDirPath = extension.scriptsDirPath
            )
            doFirst {<commit_msg>Fix system wide param pass<commit_after>package lt.markmerkk.export

import lt.markmerkk.export.icons.GenIconMac
import lt.markmerkk.export.icons.GenIconWindows
import lt.markmerkk.export.tasks.BundleTask
import lt.markmerkk.export.tasks.JBundleExtension
import org.gradle.api.DefaultTask
import org.gradle.api.Plugin
import org.gradle.api.Project

class JBundlePlugin: Plugin<Project> {

    override fun apply(project: Project) {
        val extension: JBundleExtension = project.extensions.create(
                EXTENSION_NAME,
                JBundleExtension::class.java,
                project)
        project.tasks.register(
                "${NAME_PLUGIN}Create",
                BundleTask::class.java
        ) {
            group = NAME_PLUGIN
            description = "Creates and exports bundle"
            init(
                    appName = extension.appName,
                    versionName = extension.version,
                    systemWide = extension.systemWide,
                    mainJarFilePath = extension.mainJarFilePath,
                    mainClassName = extension.mainClassName,
                    mainIconFilePath = extension.mainIconFilePath
            )
            doFirst {
                debugPrint()
            }
            setDependsOn(listOf(":${project.name}:build"))
        }
        project.tasks.register(
                "${NAME_PLUGIN}GenIconMac",
                GenIconMac::class.java
        ) {
            group = NAME_PLUGIN
            description = "Generates icons for MacOSX"
            init(
                    mainIconFilePath = extension.mainIconFilePath,
                    scriptsDirPath = extension.scriptsDirPath
            )
            doFirst {
{'fraction_non_alphanumeric': 0.07539917208752217, 'fraction_numerical': 0.0, 'mean_word_length': 1.734842360549717, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6958539', 'n_tokens_mistral': 880, 'n_tokens_neox': 822, 'n_words': 146}