Search Gradle plugins

Applies the MocKMP symbol processor to a Kotlin/Multiplatform project

https://kosi-libs.org/mockmp/

Sources: https://github.com/Kodein-Framework/MocKMP.git

Version 3.1.0-kt2.3

Created 09 August 2026.

Applies the MocKMP symbol processor to a Kotlin Multiplatform, Android or JVM project

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.kodein.mock.mockmp") version "3.1.0-kt2.3"
}

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("org.kodein.mock.mockmp:org.kodein.mock.mockmp.gradle.plugin:3.1.0-kt2.3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.kodein.mock.mockmp")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.kodein.mock.mockmp:org.kodein.mock.mockmp.gradle.plugin:3.1.0-kt2.3")
      }
    }
    
    apply(plugin = "org.kodein.mock.mockmp")
  • Applying plugins to all subprojects .