Search Gradle plugins

net.cockamamy.gradle.javarepl

Starts a Java REPL configured to use a Gradle project's dependencies

https://github.com/jburwell/gradle-javarepl-plugin

Version 1.0.0 (latest)

Created 23 March 2017.

Starts a Java REPL configured to use a Gradle project's dependencies

Using the plugins DSL:

plugins {
  id "net.cockamamy.gradle.javarepl" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.net.cockamamy.gradle:gradle-javarepl-plugin:1.0.0"
  }
}

apply plugin: "net.cockamamy.gradle.javarepl"

Using the plugins DSL:

plugins {
  id("net.cockamamy.gradle.javarepl") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.net.cockamamy.gradle:gradle-javarepl-plugin:1.0.0")
  }
}

apply(plugin = "net.cockamamy.gradle.javarepl")

Learn how to apply plugins to subprojects