Search Gradle plugins

Automatically inject network interceptor for MockkHttp IntelliJ plugin. Intercept and modify HTTP traffic from Android apps in debug builds only.

https://github.com/sergiydev09/MockkHttp

Sources: https://github.com/sergiydev09/MockkHttp

Version 1.8.0 (latest)

Created 08 September 2026.

Injects the MockkHttp interceptor into Android debug builds (OkHttp/Retrofit, no code changes), so the MockkHttp IntelliJ/Android Studio plugin can record, debug and mock the app's HTTP traffic — and, since 1.8.0, so can an AI agent over the plugin's built-in MCP server. Every request the app makes is one flow; debug builds only, release builds untouched.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.sergiydev09.mockkhttp") version "1.8.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.sergiydev09.mockkhttp:io.github.sergiydev09.mockkhttp.gradle.plugin:1.8.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.sergiydev09.mockkhttp")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.sergiydev09.mockkhttp:io.github.sergiydev09.mockkhttp.gradle.plugin:1.8.0")
      }
    }
    
    apply(plugin = "io.github.sergiydev09.mockkhttp")
  • Applying plugins to all subprojects .