Search Gradle plugins

de.set.ecj

Gradle plugin for using the eclipse compiler for java (ecj) for compiling java files instead of javac

https://github.com/TwoStone/gradle-eclipse-compiler-plugin

Version 1.4.1 (latest)

Created 17 January 2019.

Gradle plugin for using the eclipse compiler for java (ecj) for compiling java files instead of javac

Using the plugins DSL:

plugins {
  id "de.set.ecj" version "1.4.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.de.set.gradle:gradle-eclipse-compiler-plugin:1.4.1"
  }
}

apply plugin: "de.set.ecj"

Using the plugins DSL:

plugins {
  id("de.set.ecj") version "1.4.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.de.set.gradle:gradle-eclipse-compiler-plugin:1.4.1")
  }
}

apply(plugin = "de.set.ecj")

Learn how to apply plugins to subprojects