Maven Central · v0.4.0

Install Synapse

One line in build.dependencies.gradle. Sync. Done.

build.dependencies.gradle
dependencies {
    implementation 'com.aaravlabs:synapse:0.4.0'
    // ... your other FTC deps
}
dependencies {
    implementation("com.aaravlabs:synapse:0.4.0")
    // ... your other FTC deps
}

Paste it in, then hit Sync Now in Android Studio. That's the whole install.

Alternative: GitHub Packages mirror

Synapse is also mirrored on GitHub Packages for teams that already authenticate against GitHub. It requires a personal access token with the read:packages scope — even for public packages, a GitHub restriction. If in doubt, use Maven Central above.

~/.gradle/gradle.properties — never commit this file

# ~/.gradle/gradle.properties (never commit)
githubUser=<your-github-username>
githubToken=<a-token-with-read:packages>

build.dependencies.gradle

repositories {
    mavenCentral()
    google()
    maven {
        url = uri("https://maven.pkg.github.com/IamCoder18/synapse")
        credentials {
            username = findProperty("githubUser") ?: System.getenv("GITHUB_USER") ?: System.getenv("GITHUB_ACTOR")
            password = findProperty("githubToken") ?: System.getenv("GITHUB_TOKEN")
        }
    }
}

dependencies {
    implementation 'com.aaravlabs:synapse:0.4.0'
}

Kotlin DSL version and troubleshooting in the Install guide