Skip to content

Instantly share code, notes, and snippets.

@bowserf
Last active March 30, 2023 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bowserf/8fbc2b35748f25209816f168b3fa0379 to your computer and use it in GitHub Desktop.
Save bowserf/8fbc2b35748f25209816f168b3fa0379 to your computer and use it in GitHub Desktop.
abstract class BundleReleaseFilesTask : DefaultTask() {
@get:InputDirectory
abstract val rootProject: DirectoryProperty
@get:Input
abstract val appVersion: Property<String>
@get:OutputDirectory
abstract val outputDirectory: DirectoryProperty
@TaskAction
fun run() {
// Put File management logic here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment