io.ktor.plugin
Owner: KtorTeam
Provides the ability to package and containerize your Ktor application
Sources: https://github.com/ktorio/ktor
Version 2.3.13
Created 21 November 2024.
Ktor Gradle Plugin configures deployment and version management for Ktor applications
Add this plugin to your build using the plugins DSL:
plugins {
id("io.ktor.plugin") version "2.3.13"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("io.ktor.plugin:io.ktor.plugin.gradle.plugin:2.3.13") }
It can then be applied in the precompiled script plugin:plugins { id("io.ktor.plugin") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.ktor.plugin:io.ktor.plugin.gradle.plugin:2.3.13") } } apply(plugin = "io.ktor.plugin")
- Applying plugins to all subprojects .