How to publish a Kotlin/Java Spring Boot library with Gradle to Maven Central - Complete Guide

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • spring-view-component

    Easily create server-side ui components with spring boot and add interactivity with htmx

  • publishing{ publications { create("Maven") { from(components["java"]) groupId = "de.tschuehly" artifactId = "spring-view-component-thymeleaf" description = "Create server rendered components with thymeleaf" } withType { pom { packaging = "jar" name.set("spring-view-component-thymeleaf") description.set("Spring ViewComponent Thymeleaf") url.set("https://github.com/tschuehly/spring-view-component/") inceptionYear.set("2023") licenses { license { name.set("MIT license") url.set("https://opensource.org/licenses/MIT") } } developers { developer { id.set("tschuehly") name.set("Thomas Schuehly") email.set("[email protected]") } } scm { connection.set("scm:git:[email protected]:tschuehly/spring-view-component.git") developerConnection.set("scm:git:ssh:[email protected]:tschuehly/spring-view-component.git") url.set("https://github.com/tschuehly/spring-view-component") } } } } repositories { maven { url = layout.buildDirectory.dir("staging-deploy").get().asFile.toURI() } } }

  • jreleaser

    :rocket: Release projects quickly and easily with JReleaser

  • It uses JReleaser - I believe this is the simplest and the most straightforward way of signing and uploading artifacts.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts