Search Gradle plugins

Version 0.0.1 (latest)

Created 18 August 2023.

Convention plugin for the Kotlin JVM projects

Add this plugin to your build using the plugins DSL:

plugins {
  id("xyz.waltuh.gradle.kt-base") version "0.0.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("xyz.waltuh.gradle.kt-base:xyz.waltuh.gradle.kt-base.gradle.plugin:0.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("xyz.waltuh.gradle.kt-base")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("xyz.waltuh.gradle.kt-base:xyz.waltuh.gradle.kt-base.gradle.plugin:0.0.1")
      }
    }
    
    apply(plugin = "xyz.waltuh.gradle.kt-base")
  • Applying plugins to all subprojects .