Search Gradle plugins

Version 1.3 (latest)

Created 10 May 2018.

Plugin to generate a javaconfig.json file for Sourcegraph. Add the plugin to your build using the instructions below. Then run `./gradlew javaconfig -P outputFile=javaconfig.json` and commit the generated `javaconfig.json` to your repository. This plugin has been tested with Gradle version 4.

Using the plugins DSL:

plugins {
  id "com.sourcegraph.gradle" version "1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.sourcegraph:gradle:1.3"
  }
}

apply plugin: "com.sourcegraph.gradle"

Using the plugins DSL:

plugins {
  id("com.sourcegraph.gradle") version "1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.sourcegraph:gradle:1.3")
  }
}

apply(plugin = "com.sourcegraph.gradle")

Learn how to apply plugins to subprojects