class ProjectConfiguration( val buildTools: String, val compileSdk: Int, val targetSdk: Int, val minSdk : Int ) buildSrc/…/dependencies.gradle.kts var projectConfiguration: ProjectConfiguration by extra projectConfiguration = ProjectConfiguration( buildTools = "25.0.2", compileSdk = 25, targetSdk = 25, minSdk = 25 ) app/build.gradle.kts applyFrom("../dependencies.gradle.kts") val projectConfiguration: ProjectConfiguration by extra android { defaultConfig { minSdkVersion(projectConfiguration.miSdk) targetSdkVersion(projectConfiguration.android.targetSdk)