Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample build settings #1047

Closed
JohnBlackburne opened this issue Nov 15, 2018 · 2 comments
Closed

Sample build settings #1047

JohnBlackburne opened this issue Nov 15, 2018 · 2 comments
Labels

Comments

@JohnBlackburne
Copy link

Just trying building the sample in /samples/demo_web and I had to change two things to get it to work

Change the dependencies line to

    classpath group: 'org.gradlefx', name: 'gradlefx', version: '1.4.0'

Change one of the additionalCompilerOptions to

   '-target-player=19.0',

Obviously Starling needs Flash 19 or later now. The dependencies line is from the gradlefx documentation.

@JohnBlackburne
Copy link
Author

Also to get it to build a version that works I needed to change one more of the additionalCompilerOptions:

    '-swf-version=30'

That’s the version matching Flash Player 19

@PrimaryFeather
Copy link
Contributor

You're totally right, thanks a lot for the heads-up! I totally forgot that there even was a gradle script available for the samples. 😉 Now it's working again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants