diff --git a/_includes/#download_widget.md# b/_includes/#download_widget.md# new file mode 100644 index 000000000..f5e63a0c6 --- /dev/null +++ b/_includes/#download_widget.md# @@ -0,0 +1,19 @@ +
+
+
+
+Download +
+
+
+
+

The recommended way to get started using {{ site.project }} in + your project is with a dependency management system – the snippet below can + be copied and pasted into your build. Need help? See our getting started guides + on building with Maven and + Gradle. +

+
+
+
+
diff --git a/_includes/build.gradle b/_includes/build.gradle index 2deea97ad..40ede5408 100644 --- a/_includes/build.gradle +++ b/_includes/build.gradle @@ -8,7 +8,7 @@ apply plugin: "io.spring.dependency-management" dependencyManagement { imports { - mavenBom '{@= groupId @}:spring-cloud-streams-parent:{@= findBom(version) @}' + mavenBom '{@= groupId @}:spring-cloud-streams-parent:{@= version @}' } } diff --git a/_includes/custom.js b/_includes/custom.js index 0e6cd073b..e69de29bb 100644 --- a/_includes/custom.js +++ b/_includes/custom.js @@ -1,9 +0,0 @@ -var defaultBomVersion = "Angel.SR3"; -var boms = { - "1.0.0.BUILD-SNAPSHOT": "Brixton.BUILD-SNAPSHOT" -}; -function findBom(version) { - if (boms[version]) return boms[version]; - return defaultBomVersion; -} - diff --git a/_includes/pom.xml b/_includes/pom.xml index 3edc0fc8e..7512c17e0 100644 --- a/_includes/pom.xml +++ b/_includes/pom.xml @@ -3,7 +3,7 @@ {@= groupId @} spring-cloud-stream-parent - {@= findBom(version) @} + {@= version @} pom import