-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bcf4eb
commit 081ecb0
Showing
9 changed files
with
425 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/org/terracotta/build/plugins/packaging/CustomCapabilities.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
package org.terracotta.build.plugins.packaging; | ||
|
||
import org.gradle.api.DomainObjectSet; | ||
import org.gradle.api.artifacts.ModuleDependencyCapabilitiesHandler; | ||
import org.gradle.api.capabilities.Capability; | ||
import org.gradle.api.plugins.JavaPluginExtension; | ||
|
||
public interface CustomCapabilities { | ||
|
||
/** | ||
* The capabilities of this package/variant. | ||
* | ||
* @return the capability set | ||
*/ | ||
DomainObjectSet<Capability> getCapabilities(); | ||
|
||
/** | ||
* Declares a capability for this package/variant. | ||
* | ||
* @param notation capability notation | ||
* @see ModuleDependencyCapabilitiesHandler | ||
*/ | ||
void capability(Object notation); | ||
} |
Oops, something went wrong.