Search Gradle plugins

io.github.zenhelix.kotlin-jvm-library

A Gradle plugin that simplifies the setup and configuration of Kotlin JVM libraries, including compilation, testing, and publishing, with built-in conventions and utilities.

https://github.com/zenhelix/gradle-magic-wands

Sources: https://github.com/zenhelix/gradle-magic-wands.git

Version 0.6.0 (latest)

Created 20 January 2025.

A Gradle plugin that simplifies the setup and configuration of Kotlin JVM libraries, including compilation, testing, and publishing, with built-in conventions and utilities.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.zenhelix.kotlin-jvm-library") version "0.6.0"
}

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("io.github.zenhelix.kotlin-jvm-library:io.github.zenhelix.kotlin-jvm-library.gradle.plugin:0.6.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.zenhelix.kotlin-jvm-library")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.zenhelix.kotlin-jvm-library:io.github.zenhelix.kotlin-jvm-library.gradle.plugin:0.6.0")
      }
    }
    
    apply(plugin = "io.github.zenhelix.kotlin-jvm-library")
  • Applying plugins to all subprojects .