Skip to content

Conversation

Copy link

Copilot AI commented Oct 31, 2025

The Java Feature Flags SDK is in beta with a -SNAPSHOT version, but the documentation didn't explain how to configure build tools to pull snapshot dependencies from Sonatype's snapshot repository.

Changes

  • Added "Installing the SDK" section with Maven and Gradle configuration examples
  • Included Sonatype snapshot repository setup for both build tools
  • Linked to official Sonatype snapshot documentation for additional context

Example

Maven (pom.xml):

<repositories>
    <repository>
        <id>sonatype-snapshots</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

<dependency>
    <groupId>com.mixpanel</groupId>
    <artifactId>mixpanel-java</artifactId>
    <version>1.6.0-SNAPSHOT</version>
</dependency>

Gradle (build.gradle):

repositories {
    maven {
        url "https://oss.sonatype.org/content/repositories/snapshots"
    }
}

dependencies {
    implementation 'com.mixpanel:mixpanel-java:1.6.0-SNAPSHOT'
}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Oct 31, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Nov 1, 2025 0:00am

Co-authored-by: msiebert <1504059+msiebert@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Java Feature Flags SDK Add snapshot repository setup for Java Feature Flags SDK Oct 31, 2025
Copilot finished work on behalf of msiebert October 31, 2025 23:57
Copilot AI requested a review from msiebert October 31, 2025 23:57
@msiebert
Copy link
Contributor

Don't inline the documentation, just link to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants