From c340f824a8a287cf5e5000a91b668be2e7fe3e0f Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 8 Jun 2019 01:09:42 -0400 Subject: Add many more dependency declarations in plugin --- buildSrc/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'buildSrc/README.md') diff --git a/buildSrc/README.md b/buildSrc/README.md index 14ae3d6..de447ae 100644 --- a/buildSrc/README.md +++ b/buildSrc/README.md @@ -34,17 +34,22 @@ Currently, the plugin is a collection of simple classes. ## Constants -`Versions`, `Plugins`, and `Dependencies` supply constants you can use for your classpath and dependencies +`Versions`, `Plugins`, and `Dependencies` supply constants you can use for your classpath and dependencies. +Some dependencies are also exposed as functions Eg ```gradle dependencies { ... - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${kau.Versions.coroutines}" + // The three dependencies below are all the same thing + implementation "org.jetbrains.kotlin:kotlin-test-junit:${kau.Versions.kotlin}" + implementation kau.Dependencies.kotlinTest + implementation kau.Dependencies.kotlin("test-junit") } ``` + ## Changelog Generator In conjunction with [core](/core#changelog-xml), -- cgit v1.2.3