Search Gradle plugins

Version 2.3 (latest)

Created 05 December 2019.

Use android transform api to dynamically replace super class

Using the plugins DSL:

plugins {
  id("com.nikeo.gradle.superclass-replacement") version "2.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.nikeo.gradle:superclass-replacement-gradle-plugin:2.3")
  }
}

apply(plugin = "com.nikeo.gradle.superclass-replacement")

Using the plugins DSL:

plugins {
  id "com.nikeo.gradle.superclass-replacement" version "2.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.nikeo.gradle:superclass-replacement-gradle-plugin:2.3"
  }
}

apply plugin: "com.nikeo.gradle.superclass-replacement"

Learn how to apply plugins to subprojects