com.undefinedlabs.attach-classes-metadata
Owner: Daniel Rodriguez
Adds a companion file in the same path of every compiled class for a certain JAR with information that can be obtained at runtime.
Sources: https://github.com/undefinedlabs/metadata-gradle-plugin.git
Version 0.1.0-beta.1 (latest)
Created 27 May 2020.
Adds a companion file in the same path of every compiled class for a certain JAR with information that can be obtained at runtime.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.undefinedlabs.attach-classes-metadata") version "0.1.0-beta.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("com.undefinedlabs.attach-classes-metadata:com.undefinedlabs.attach-classes-metadata.gradle.plugin:0.1.0-beta.1") }
It can then be applied in the precompiled script plugin:plugins { id("com.undefinedlabs.attach-classes-metadata") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.undefinedlabs.attach-classes-metadata:com.undefinedlabs.attach-classes-metadata.gradle.plugin:0.1.0-beta.1") } } apply(plugin = "com.undefinedlabs.attach-classes-metadata")
- Applying plugins to all subprojects .