I would like to deduplicate Kotlin version used in...
# gradle
m
I would like to deduplicate Kotlin version used in multi-project build. I tried to pull it out into my Kotlin conventions plugin which specifies
plugins { kotlin("jvm") version "1.7.21" }
, but I got
Plugin requests from precompiled scripts must not include a version number.
error. Any example how to do this deduplication?
j
you can create plugin aliases with version catalogs
e
When using convention plugins, you typically specify the version by depending on that plug-in (and version) from your build.gradle.kts