WormaCeptor

Installation

Prerequisites and dependency setup for WormaCeptor V2.

Prerequisites

RequirementMinimum
Android SDKAPI 23 (Android 6.0)
Kotlin2.0+
OkHttp4.x (for OkHttp interceptor)
Ktor3.x (for Ktor plugin)
Gradle8.x

Installation

WormaCeptor is published to Maven Central. If your settings.gradle.kts already includes mavenCentral() (the Android default), no repository changes are needed:

settings.gradle.kts
dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
    }
}

Add dependencies to your module's build.gradle.kts:

build.gradle.kts
dependencies {
    // Required: API client (lightweight, safe for all build types)
    implementation("com.azikar24.wormaceptor:wormaceptor-client:2.3.1")

    // Debug: Choose one storage backend
    debugImplementation("com.azikar24.wormaceptor:wormaceptor-persistence:2.3.1")
}

Storage Backend Comparison

ModuleStorageSurvives App RestartSize ImpactBest For
wormaceptor-persistenceRoom (SQLite)Yes~2 MBMost apps: persistent inspection across sessions
wormaceptor-imdbIn-memoryNo~0.5 MBCI/testing: lightweight, no disk I/O
wormaceptor-noopNoneN/A~5 KBExplicit no-op (rarely needed)

The wormaceptor-client module automatically falls back to a no-op implementation when no backend is found, so wormaceptor-noop is rarely needed.

Migrating from JitPack

WormaCeptor was previously distributed via JitPack with com.github.azikar24.WormaCeptor coordinates. Starting with 2.3.0, artifacts are published to Maven Central with stable IDs under the com.azikar24.wormaceptor group. Update your dependencies and remove the JitPack repository entry from settings.gradle.kts.

On this page