From 2c81197c749b0a1c54914a5cf046d19833a13ba8 Mon Sep 17 00:00:00 2001 From: Jean-Michel Fayard Date: Sun, 13 Oct 2019 13:19:54 +0200 Subject: [PATCH] plugins.id("de.fayard.refreshVersion") --- plugin/build.gradle.kts | 8 +++++++- sample-versionsOnlyMode/build.gradle.kts | 1 + sample-versionsOnlyMode/gradle.properties | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 024b40aa6..717d5bbfc 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -19,7 +19,13 @@ gradlePlugin { plugins { create("buildSrcVersions") { id = "de.fayard.buildSrcVersions" - displayName = "buildSrcVersions" + displayName = "./gradlew buildSrcVersions" + description = "Painless dependencies management" + implementationClass = "de.fayard.BuildSrcVersionsPlugin" + } + create("refreshVersions") { + id = "de.fayard.refreshVersions" + displayName = "./gradlew refreshVersions" description = "Painless dependencies management" implementationClass = "de.fayard.BuildSrcVersionsPlugin" } diff --git a/sample-versionsOnlyMode/build.gradle.kts b/sample-versionsOnlyMode/build.gradle.kts index 4d810621f..d3661294c 100644 --- a/sample-versionsOnlyMode/build.gradle.kts +++ b/sample-versionsOnlyMode/build.gradle.kts @@ -34,6 +34,7 @@ dependencies { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.0") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.0.0") implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.13.0") + implementation("com.jakewharton.timber:timber:4.7.0") } tasks.withType { diff --git a/sample-versionsOnlyMode/gradle.properties b/sample-versionsOnlyMode/gradle.properties index 2627b2b3d..c0be733db 100644 --- a/sample-versionsOnlyMode/gradle.properties +++ b/sample-versionsOnlyMode/gradle.properties @@ -21,4 +21,5 @@ version.org.jetbrains.kotlinx.kotlinx-coroutines=1.0.0 version.org.jetbrains.kotlinx.kotlinx-serialization=0.13.0 version.gradleLatestVersion=5.6.2 version.guava=15.0 -version.guice=2.0 \ No newline at end of file +version.guice=2.0 +version.timber=4.7.0 \ No newline at end of file