Skip to content
This repository was archived by the owner on Aug 19, 2020. It is now read-only.
This repository was archived by the owner on Aug 19, 2020. It is now read-only.

How to read a val in plugins {} #802

@redtankd

Description

@redtankd
val kotlinVersion = "1.2.31"

plugins {
    kotlin("jvm")           version $kotlinVersion apply false
    kotlin("plugin.spring") version $kotlinVersion apply false
}

gradle report "Unresolved reference: kotlinVersion"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions