Skip to content

Instantly share code, notes, and snippets.

@bowserf
Created April 7, 2023 21:06
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/05f68aa470f91048af1078f5cddd905e to your computer and use it in GitHub Desktop.
Save bowserf/05f68aa470f91048af1078f5cddd905e to your computer and use it in GitHub Desktop.
class BundleReleaseFilesPlugin : Plugin<Project> {
override fun apply(target: Project) {
...
bundleReleaseFiles.configure {
appVersion.set(extension.appVersion)
rootProject.set(target.projectDir) // We get the rootProject from the "target" parameter
outputDirectory.set(extension.outputDirectory)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment