How to access a variable defined in root build.gradle file from subproject build.gradle using kotlin dsl?

311 views Asked by At

A variable defined in root build.gradle fille

def a = 1

and i want access the variable a in subproject's build.gradle.ktl file. Notice subproject's gradle file uses kotlin dsl.

0

There are 0 answers