You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of our projects is using Kotlin DSL instead of Groovy-based syntax and our Jenkins Paved path setup uses this release plugin.
I need a way to convert
versionPatterns = [/(\d+)([^\d]*$)/: { Matcher m, Project p -> m.replaceAll("${(m[0][1] as int) + 1}${m[0][2]}") } ]
to a compatible Kotlin DSL version.
please suggest how to go about it.
The text was updated successfully, but these errors were encountered:
I ran into a similar issue. I was able to solve it using the KotlinClosure2, which creates a Groovy closure that provides 2 parameters. I prefer to auto-increment the minor version automatically instead of the patch version, as most of my releases contain new features. Below is my release plugin configuration when running ./gradlew clean release -Prelease.useAutomaticVersion=true
One of our projects is using Kotlin DSL instead of Groovy-based syntax and our Jenkins Paved path setup uses this release plugin.
I need a way to convert
to a compatible Kotlin DSL version.
please suggest how to go about it.
The text was updated successfully, but these errors were encountered: