Created
June 18, 2022 17:28
-
-
Save jonnycaley/6ea6bf638975bde462961f1c93f5a6a8 to your computer and use it in GitHub Desktop.
BuildReporterService - parsing cacheable values
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
abstract class BuildReporterService : BuildService<BuildReporterService.Params>, AutoCloseable { | |
interface Params : BuildServiceParameters { | |
fun getBuildTaskNames(): Property<String> | |
fun getGradleVersion(): Property<String> | |
} | |
override fun close() { | |
val buildTaskNames = parameters.getBuildTaskNames().get() | |
val gradleVersion = parameters.getGradleVersion().get() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment