This module provides a Spring Boot starter for the Segment client.
For Maven, include this dependency in your pom.xml:
<dependency>
<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-spring-boot-starter</artifactId>
<version>${segment.analytics.version}</version>
</dependency>For Gradle,
compile 'com.segment.analytics.java:analytics-spring-boot-starter:+'In your Spring Boot configuration (application.properties, environment, or
similar), provide the property segment.analytics.writeKey. The
autoconfiguration will register an Analytics bean in the Spring context
ready for use.