Skip to content

Find a way to use same Spine versions source for buildSrc/build.gradle.kts and deps.kt #3

@yuri-sergiichuk

Description

@yuri-sergiichuk

While we're using Kotlin DSL pre-compiled plugins, we currently have bootstrap version declared in one place and gcloud version declared in the other.
We're actually facing a chicken and an egg issue here, cause we're compiling deps.kt using buildsrc/build.gradle.kts and thus are not able to use versions from deps.kt in the build script.
Also, in order to be able to configure plugins inside pre-compiled script plugins such as java-convention.gradle.kts, we must declare all the dependent plugins inside the build.gradle.kts.

Maybe there could be some way to extract Spine versions into a separate .properties file and read its content from both build.gradle.kts and deps.kt in order to have the same source of versions for both. An easy approach to extract smth like version.gradle.kts as we have in the main repo does not work, we're not able to propagate things from extra to deps.kt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions