Skip to content

Commit

Permalink
Support kotlin notation in releaseManagement section
Browse files Browse the repository at this point in the history
  • Loading branch information
qu0d committed Feb 7, 2024
1 parent 1b99c9a commit 649c26a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/src/docs/asciidoc/release-management-gradle-plugin.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ No additional plugin applying is needed.

Dependency registration performs automatically when property '-PincludeAllDependencies' is set. Release management gradle plugin adds all dependencies which are included to distribution and filtered by groups used in the Company. To add extra dependencies the section releaseDependencies of the releaseManagement extension has to be configured:

.E.g.
.E.g. Groovy build.gradle
[source,groovy]
----
plugins {
Expand All @@ -582,6 +582,19 @@ releaseManagement {
}
----

.E.g. Kotlin build.gradle.kts
[source,kotlin]
----
plugins {
id 'org.octopusden.octopus-release-management'
}
releaseManagement {
component(mapOf("name" to "deployer", "version" to project.properties["deployer.version"]))
component(mapOf("name" to "deployerDSL", "version" to project.properties["deployer.dsl.version"]))
}
----

.Supported formats:
* component name: "componentName", version: "1.0"
* component "componentName:version"
Expand Down

0 comments on commit 649c26a

Please sign in to comment.