Search Gradle plugins

com.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.1.0 (latest)

Created 17 August 2021.

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

Using the plugins DSL:

plugins {
  id "com.github.kyay10.kotlin-null-defaults" version "0.1.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("com.github.kyay10.kotlin-null-defaults") version "0.1.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects