com.github.jengelman.gradle.plugins.shadow.tasks.KnowsTask.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadow-gradle-plugin Show documentation
Show all versions of shadow-gradle-plugin Show documentation
Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
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