All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.jengelman.gradle.plugins.shadow.tasks.KnowsTask.kt Maven / Gradle / Ivy

Go to download

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.

There is a newer version: 9.0.0-beta4
Show newest version
package com.github.jengelman.gradle.plugins.shadow.tasks

import com.github.jengelman.gradle.plugins.shadow.internal.requireResourceAsText
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction

public abstract class KnowsTask : DefaultTask() {

  @TaskAction
  public fun knows() {
    logger.info(
      """
      No, The Shadow Knows....

      ${this::class.java.requireResourceAsText("/shadowBanner.txt")}
      """.trimIndent(),
    )
  }

  public companion object {
    public const val NAME: String = "knows"
    public const val DESC: String = "Do you know who knows?"
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy