free html hit counter
Example getting properties value from settings.gradle.kts
Example getting properties value from settings.gradle.kts
2020-10-24 / Kuswati

pluginManagement {
resolutionStrategy {
eachPlugin {
// Work around https://github.com/gradle/gradle/issues/1697.
if (requested.version == null) {
def pluginName = requested.id.name.split('-').collect { it.capitalize() }.join().uncapitalize()
def versionPropertyName = (requested.id.id == 'org.jetbrains.kotlin.jvm') ?
"kotlinPluginVersion" : "${pluginName}PluginVersion"
logger.info("Checking for plugin version property '$versionPropertyName'.")
if (gradle.rootProject.hasProperty(versionPropertyName)) {
def version = gradle.rootProject.properties[versionPropertyName]
logger.info("Setting '${requested.id.id}' plugin version to $version.")
useVersion version
} else {
logger.warn("No version specified for plugin '${requested.id.id}' and property " +
"'$versionPropertyName' does not exist.")
}
}
}
}
}

Example getting properties value from settings.gradle.kts

PermaLink: https://www.webmanajemen.com/2020/10/example-getting-properties-value-from.html
Incoming search terms for Example getting properties value from settings.gradle.kts:
  • Example getting properties value from settings.gradle.kts
  • Example getting properties value from settings.gradle.kts WMI Gitlab

Google Rich Snippets | Schema Markup Validator | Google Pagespeed Insight