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

godot.gradle.tasks.graal.copyDefaultGraalJniConfigTask.kt Maven / Gradle / Ivy

The newest version!
package godot.gradle.tasks.graal

import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.tasks.TaskProvider

fun Project.copyDefaultGraalJniConfigTask(): TaskProvider {
    return tasks.register("createDefaultGraalJniConfig") {
        with(it) {
            group = "godot-kotlin-jvm"
            description =
                "Checks if the default jni config for graalVM native image is present and creates it if it's not"

            doLast {
                copyToGraalBuildDirectory(
                    "godot-kotlin-graal-jni-config.json"
                )
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy