Search Gradle plugins

io.github.kyay10.kotlin-all-static

A Kotlin compiler plugin that automatically makes every function/property inside an object static

https://github.com/kyay10/kotlin-all-static

Sources: https://github.com/kyay10/kotlin-all-static

Version 0.1.1 (latest)

0.1.1

Created 16 October 2022.

A Kotlin compiler plugin that automatically makes every function/property inside an object static

Using the plugins DSL:

plugins {
  id("io.github.kyay10.kotlin-all-static") version "0.1.1"
}

Using legacy plugin application:

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

apply(plugin = "io.github.kyay10.kotlin-all-static")

Using the plugins DSL:

plugins {
  id "io.github.kyay10.kotlin-all-static" version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.kyay10.kotlin-all-static:gradle-plugin:0.1.1"
  }
}

apply plugin: "io.github.kyay10.kotlin-all-static"

Learn how to apply plugins to subprojects