Adding version number in the resulting swf

Jhon's Avatar

Jhon

24 Feb, 2014 08:51 PM

Hi

What would be the best way to add the version number to the resulting swf? for instance myapp-1.1.1.swf instead of myapp.swf, The version number would be a property in my gradle.build file.

THe current implementation use only the mainClass property to generate the name of the resulting swf.

Thanks

  1. Support Staff 1 Posted by Yennick Trevels on 25 Feb, 2014 07:23 AM

    Yennick Trevels's Avatar

    This should work:

    output = "${project.name}-${project.version}"
    

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

07 May, 2023 04:17 PM
28 Apr, 2023 11:22 PM
23 Apr, 2023 09:43 AM
03 Nov, 2022 01:22 AM
29 Jun, 2022 05:39 PM

 

04 Aug, 2021 12:50 PM
15 Apr, 2021 06:10 PM
15 Jan, 2021 06:56 PM
09 Mar, 2020 11:11 PM
09 Mar, 2020 11:09 PM
17 Apr, 2019 02:51 PM