eskatos
05/11/2018, 12:03 PMval answer: String? by projectnikolaymetchev
05/11/2018, 12:04 PMeskatos
05/11/2018, 12:13 PMProject api as follows:
buildscript {
dependencies {
val junitGradlePlugin = findProperty("junitGradlePlugin") as String? ?: "defaultValue"
classpath(junitGradlePlugin)
}
}
But there’s no such equivalent in settings scripts, the api is missing from the Java Gradle API.
If you feel strongly about it, feel free to open an issue on gradle/gradle for the missing API.nikolaymetchev
05/11/2018, 12:42 PM