Search Gradle plugins

Version 0.0.3-beta (latest)

0.0.3-beta

Created 22 June 2024.

inline newInstance without reflection.

Using the plugins DSL:

plugins {
  id("host.bytedance.kotlin-newInstance") version "0.0.3-beta"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("host.bytedance:kotlin-newInstance-gradle:0.0.3-beta")
  }
}

apply(plugin = "host.bytedance.kotlin-newInstance")

Using the plugins DSL:

plugins {
  id "host.bytedance.kotlin-newInstance" version "0.0.3-beta"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "host.bytedance:kotlin-newInstance-gradle:0.0.3-beta"
  }
}

apply plugin: "host.bytedance.kotlin-newInstance"

Learn how to apply plugins to subprojects