Search Gradle plugins

io.github.kyay10.kotlin-null-defaults

Kotlin compiler plugin that allows Java callers to use null in place of default parameters

https://github.com/kyay10/kotlin-null-defaults

Version 0.2.0 (latest)

Created 18 June 2022.

Kotlin compiler plugin that allows Java callers to use null in place of default parameters

Using the plugins DSL:

plugins {
  id "io.github.kyay10.kotlin-null-defaults" version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.kyay10.kotlin-null-defaults:gradle-plugin:0.2.0"
  }
}

apply plugin: "io.github.kyay10.kotlin-null-defaults"

Using the plugins DSL:

plugins {
  id("io.github.kyay10.kotlin-null-defaults") version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.kyay10.kotlin-null-defaults:gradle-plugin:0.2.0")
  }
}

apply(plugin = "io.github.kyay10.kotlin-null-defaults")

Learn how to apply plugins to subprojects