Created
April 7, 2023 21:06
-
-
Save bowserf/05f68aa470f91048af1078f5cddd905e to your computer and use it in GitHub Desktop.
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
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