io.github.kyay10.kotlin-lambda-return-inliner
Owner: Youssef Shoaib
Kotlin compiler plugin that optimises lambdas returned by inline functions and stored in local variables
https://github.com/kyay10/kotlin-lambda-return-inliner
Sources: https://github.com/kyay10/kotlin-lambda-return-inliner
Version 0.1.2 (latest)
Created 31 December 2021.
Kotlin compiler plugin that optimises lambdas returned by inline functions and stored in local variables
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.kyay10.kotlin-lambda-return-inliner") version "0.1.2"
}
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.github.kyay10.kotlin-lambda-return-inliner:io.github.kyay10.kotlin-lambda-return-inliner.gradle.plugin:0.1.2") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.kyay10.kotlin-lambda-return-inliner") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.kyay10.kotlin-lambda-return-inliner:io.github.kyay10.kotlin-lambda-return-inliner.gradle.plugin:0.1.2") } } apply(plugin = "io.github.kyay10.kotlin-lambda-return-inliner")
- Applying plugins to all subprojects .