diff --git a/build.gradle b/build.gradle index a4e8bc92..c0dfe5ea 100644 --- a/build.gradle +++ b/build.gradle @@ -29,3 +29,12 @@ configure(libraryModules) { } } +// support for snapshot/final releases with the various branches RxJava uses +nebulaRelease { + addReleaseBranchPattern(/\d+\.\d+\.\d+/) + addReleaseBranchPattern('HEAD') +} + +if (project.hasProperty('release.useLastTag')) { + tasks.prepare.enabled = false +}