Search Gradle plugins

com.sebchlan.javacensor

Java Censor is a Gradle plugin that enables developers to publish sources of closed source projects to a Maven repository. It does this by removing implemented code only leaving the signatures of public interfaces, classes, methods and fields behind.

https://github.com/schlan/java-censor

Sources: https://github.com/schlan/java-censor

Version 1.1.0 (latest)

1.1.0

Created 20 February 2018.

Java Censor is a Gradle plugin that enables developers to publish sources of closed source projects to a Maven repository. It does this by removing implemented code only leaving the signatures of public interfaces, classes, methods and fields behind.

Using the plugins DSL:

plugins {
  id("com.sebchlan.javacensor") version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.sebchlan.javacensor:java-censor:1.1.0")
  }
}

apply(plugin = "com.sebchlan.javacensor")

Using the plugins DSL:

plugins {
  id "com.sebchlan.javacensor" version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.sebchlan.javacensor:java-censor:1.1.0"
  }
}

apply plugin: "com.sebchlan.javacensor"

Learn how to apply plugins to subprojects