feat: replace "/" to "or"

This commit is contained in:
2023-09-26 04:28:48 +08:00
parent 7485b13e7c
commit 22b4228a46
2 changed files with 2 additions and 2 deletions

View File

@@ -46,6 +46,6 @@ class SweetPropertyPlugin<T : ExtensionAware> internal constructor() : Plugin<T>
rootProject.afterEvaluate { extension.onProjectEvaluate(rootProject) }
}
}
else -> SError.make("${SweetProperty.TAG} can only applied in settings.gradle/settings.gradle.kts, but current is $target")
else -> SError.make("${SweetProperty.TAG} can only applied in settings.gradle or settings.gradle.kts, but current is $target")
}
}

View File

@@ -58,7 +58,7 @@ internal object PluginUpdateHelper {
if (latestVersion.isNotBlank() && latestVersion != SweetProperty.VERSION) SLog.note(
"""
Plugin update is available, the current version is ${SweetProperty.VERSION}, please update to $latestVersion
You can modify your plugin version in your project's settings.gradle / settings.gradle.kts
You can modify your plugin version in your project's settings.gradle or settings.gradle.kts
plugins {
id("${SweetPropertyProperties.PROJECT_GROUP_NAME}") version "$latestVersion"
...