Skip to content

Commit

Permalink
Move Dokka and Nexus Publish plugin versions to buildSrc
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Mar 23, 2021
1 parent c01ed08 commit 13e206c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id("io.github.gradle-nexus.publish-plugin") version "1.0.0"
id("io.github.gradle-nexus.publish-plugin").version(Dependencies.nexusPublishPluginVersion)
id("io.gitlab.arturbosch.detekt").version(Dependencies.detektVersion)
id("org.jetbrains.dokka") version "1.4.30"
id("org.jetbrains.dokka").version(Dependencies.dokkaVersion)
}

// Versioning
Expand Down
4 changes: 4 additions & 0 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ object Dependencies {
const val kotlinPoet = "com.squareup:kotlinpoet:1.7.2"
const val kasechange = "net.pearx.kasechange:kasechange:1.3.0"
const val clikt = "com.github.ajalt.clikt:clikt:3.0.1"

// Gradle plugins
const val detektVersion = "1.14.2"
const val nexusPublishPluginVersion = "1.0.0"
const val dokkaVersion = "1.4.30"
}

/**
Expand Down

0 comments on commit 13e206c

Please sign in to comment.