Movatterモバイル変換


[0]ホーム

URL:


MavenArtifactSet

Table of Contents

Properties
Methods
Script blocks
Method details
API Documentation:MavenArtifactSet

A Collection ofMavenArtifacts to be included in aMavenPublication.Being aDomainObjectSet, aMavenArtifactSet provides convenient methods for querying, filtering, and applying actions to the set ofMavenArtifacts.

plugins {    id'maven-publish'}def publication = publishing.publications.create("name", MavenPublication)def artifacts = publication.artifactsartifacts.matching({    it.classifier =="classy"}).all({    it.extension ="ext"})

Properties

No properties

Methods

MethodDescription
artifact(source)

Creates and adds aMavenArtifact to the set.The semantics of this method are the same asMavenPublication.artifact(java.lang.Object).

artifact(source, config)

Creates and adds aMavenArtifact to the set, which is configured by the associated action.The semantics of this method are the same asMavenPublication.artifact(java.lang.Object, org.gradle.api.Action).

Script blocks

No script blocks

Method details

MavenArtifactartifact(Object source)

Creates and adds aMavenArtifact to the set.The semantics of this method are the same asMavenPublication.artifact(java.lang.Object).

MavenArtifactartifact(Object source,Action<? superMavenArtifact> config)

Creates and adds aMavenArtifact to the set, which is configured by the associated action.The semantics of this method are the same asMavenPublication.artifact(java.lang.Object, org.gradle.api.Action).


[8]ページ先頭

©2009-2025 Movatter.jp