-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide mechanism for configuring tasks with Develocity configuration (…
…#22) Provide mechanism for configuring tasks with Develocity configuration Co-authored-by: rcgonzalezf-ebay <[email protected]>
- Loading branch information
1 parent
4718484
commit c591925
Showing
4 changed files
with
33 additions
and
13 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/main/kotlin/com/ebay/plugins/metrics/develocity/DevelocityConfigurationInputs.kt
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.ebay.plugins.metrics.develocity | ||
|
||
import org.gradle.api.Task | ||
import org.gradle.api.provider.Property | ||
import org.gradle.api.tasks.Input | ||
|
||
/** | ||
* Interface which may be added to a task to have it be auto-configured with the Develocity | ||
* server configuration as applied to the root project in the [MetricsForDevelocityExtension]. | ||
* | ||
* NOTE: Access to the Develocity access key is intentionally not provided here, as it is | ||
* would potentially be exposed due to its use as part of the czche key. | ||
*/ | ||
interface DevelocityConfigurationInputs : Task { | ||
/** | ||
* The Develocity server URL. If the Gradle Develocity or Gradle Enterprise plugins are | ||
* applied, this will be auto-configured by using the values applied to their respective | ||
* extensions. | ||
*/ | ||
@get:Input | ||
val develocityServerUrl: Property<String> | ||
} |
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