Search Gradle plugins

Version 0.0.2 (latest)

Created 08 June 2022.

A plugin to start/stop embedded mongodb

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.ashishkujoy.embeddedMongodb") version "0.0.2"
}

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