main.name.remal.gradle_plugins.plugins.fatjar.FatJarSettingsExtension.kt Maven / Gradle / Ivy
package name.remal.gradle_plugins.plugins.fatjar
import name.remal.gradle_plugins.dsl.Extension
import org.gradle.api.file.FileTreeElement
import org.gradle.api.specs.Spec
@Extension
class FatJarSettingsExtension {
val excludePatterns: MutableSet = sortedSetOf()
fun exclude(vararg excludes: String) {
excludePatterns.addAll(excludes)
}
fun exclude(excludes: Iterable) {
excludePatterns.addAll(excludes)
}
val excludeSpecs = mutableListOf>()
fun exclude(excludeSpec: Spec) {
excludeSpecs.add(excludeSpec)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy