Search Gradle plugins

com.undefinedlabs.attach-classes-metadata

Adds a companion file in the same path of every compiled class for a certain JAR with information that can be obtained at runtime.

https://scope.dev

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.

Using the plugins DSL:

plugins {
  id "com.undefinedlabs.attach-classes-metadata" version "0.1.0-beta.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.undefinedlabs:metedata-gradle-plugin:0.1.0-beta.1"
  }
}

apply plugin: "com.undefinedlabs.attach-classes-metadata"

Using the plugins DSL:

plugins {
  id("com.undefinedlabs.attach-classes-metadata") version "0.1.0-beta.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.undefinedlabs:metedata-gradle-plugin:0.1.0-beta.1")
  }
}

apply(plugin = "com.undefinedlabs.attach-classes-metadata")

Learn how to apply plugins to subprojects