diff --git a/README.md b/README.md index 7f53dd6..df644da 100644 --- a/README.md +++ b/README.md @@ -389,12 +389,14 @@ You can enable/disable these features independently. ## ⚙️ Configuration -Instructions for using `buildscript`: [here](https://plugins.gradle.org/plugin/ru.ozon.kelp). +[Kelp on Gradle Plugin Portal](https://plugins.gradle.org/plugin/ru.ozon.kelp) + +Instructions for using `buildscript` are [here](https://plugins.gradle.org/plugin/ru.ozon.kelp). ```kotlin // in build.gradle.kts of the app module that developers compile frequently to launch the app plugins { - id("ru.ozon.kelp") version "0.0.1" + id("ru.ozon.kelp") version "0.0.2" } kelp { diff --git a/kelpGradlePlugin/build.gradle.kts b/kelpGradlePlugin/build.gradle.kts index 2814a50..a15745b 100644 --- a/kelpGradlePlugin/build.gradle.kts +++ b/kelpGradlePlugin/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "ru.ozon.kelp" -version = "0.0.1" +version = "0.0.2" repositories { mavenCentral() diff --git a/kelpGradlePlugin/src/main/kotlin/ru/ozon/kelp/CheckIdePluginPresence.kt b/kelpGradlePlugin/src/main/kotlin/ru/ozon/kelp/CheckIdePluginPresence.kt index cfe2d17..f616184 100644 --- a/kelpGradlePlugin/src/main/kotlin/ru/ozon/kelp/CheckIdePluginPresence.kt +++ b/kelpGradlePlugin/src/main/kotlin/ru/ozon/kelp/CheckIdePluginPresence.kt @@ -28,13 +28,13 @@ internal fun checkIdePluginPresence( } if (msg != null) when (idePluginAbsenceBehaviour) { NOTHING -> Unit - WARNING -> logger.error(msg) + WARNING -> logger.error("error: $msg") BUILD_FAIL -> error(msg) } return idePluginAbsenceBehaviour == NOTHING || msg == null } -private const val idePluginInstallUrl = "https://github.com/ozontech/kelp?tab=readme-ov-file#installation" +private const val idePluginInstallUrl = "https://github.com/ozontech/kelp?tab=readme-ov-file#-installation" private const val noIdePluginMsg = "⚠️ Kelp IDE plugin is not installed or outdated. To install: $idePluginInstallUrl" private fun wrongIdePluginVersionMsg(currentVersion: String, requiredVersion: String) =