sweetSpiRuntime

fun DependencyHandler.sweetSpiRuntime(): Dependency(source)

This method returns a dependency object for the sweetspi-runtime which can be used to manually add dependency on it.

The version of the library is determined by the version of the plugin. This function is applicable for projects with kotlin-jvm plugin.

Usage:

// in build.gradle.kts

// don't forget to add an import
import dev.whyoleg.sweetspi.gradle.*

dependencies {
implementation(sweetSpiRuntime())
}

fun KotlinDependencyHandler.sweetSpiRuntime(): Dependency(source)

This method returns a dependency object for the sweetspi-runtime which can be used to manually add dependency on it.

The version of the library is determined by the version of the plugin This function is applicable for projects with kotlin-multiplatform plugin.

Usage:

// in build.gradle.kts

// don't forget to add an import
import dev.whyoleg.sweetspi.gradle.*

kotlin {
sourceSets {
commonMain.dependencies {
implementation(sweetSpiRuntime())
}
}
}