godot.gradle.tasks.setupSyncTask.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-gradle-plugin Show documentation
Show all versions of godot-gradle-plugin Show documentation
Godot gradle plugin for kotlin language support.
package godot.gradle.tasks
import godot.gradle.projectExt.ideaExtension
import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.tasks.TaskProvider
import org.jetbrains.gradle.ext.settings
import org.jetbrains.gradle.ext.taskTriggers
fun Project.setupAfterIdeaSyncTasks(
generateGdIgnoreFilesTask: TaskProvider,
) {
ideaExtension.project.settings {
taskTriggers {
afterSync(generateGdIgnoreFilesTask)
}
}
}