Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19888

Unresolved References in settings.gradle.kts moving from 5.6 to 6.2

$
0
0

Thanks for this, fits perfect.

I kotlinyfied it slightly as I couldn’t resist :slight_smile:

fun PluginManagementSpec.loadProperties(fileName: String, path: String = rootDir.absolutePath) = java.util.Properties().also { properties ->
    File("$path/$fileName").inputStream().use {
        properties.load(it)
    }
}
val versions: java.util.Properties = loadProperties("gradle.properties")

Viewing all articles
Browse latest Browse all 19888

Trending Articles