diff options
author | Allan Wang <me@allanwang.ca> | 2019-07-01 12:09:43 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-07-01 12:09:43 -0700 |
commit | 1ae6a8c455bbe40ad247a29848432a4fe00459f7 (patch) | |
tree | 35643c1bd4e29e019a0f786cbe4cd9f60cdf1d66 | |
parent | 9b2f9443e5472f3ef47d6d5085524ed3255a3102 (diff) | |
download | kau-1ae6a8c455bbe40ad247a29848432a4fe00459f7.tar.gz kau-1ae6a8c455bbe40ad247a29848432a4fe00459f7.tar.bz2 kau-1ae6a8c455bbe40ad247a29848432a4fe00459f7.zip |
Add kau to plugin dependency class, resolves #211
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Dependencies.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/buildSrc/src/main/kotlin/kau/Dependencies.kt b/buildSrc/src/main/kotlin/kau/Dependencies.kt index a6268ae..f6d07ec 100644 --- a/buildSrc/src/main/kotlin/kau/Dependencies.kt +++ b/buildSrc/src/main/kotlin/kau/Dependencies.kt @@ -5,6 +5,12 @@ package kau */ object Dependencies { @JvmStatic + fun kau(version: String) = "ca.allanwang:kau:$version" + + @JvmStatic + fun kau(type: String, version: String) = "ca.allanwang.kau:$type:$version" + + @JvmStatic fun kotlin(type: String) = "org.jetbrains.kotlin:kotlin-$type:${Versions.kotlin}" @JvmField @@ -44,6 +50,7 @@ object Dependencies { const val fastAdapter = "com.mikepenz:fastadapter:${Versions.fastAdapter}" @JvmStatic fun fastAdapter(type: String) = "com.mikepenz:fastadapter-$type:${Versions.fastAdapter}" + @JvmField val fastAdapterCommons = fastAdapter("commons") |