fx-tictactoe | A simple tic tac toe game written in scala and javafx
kandi X-RAY | fx-tictactoe Summary
kandi X-RAY | fx-tictactoe Summary
A simple tic tac toe game written in scala and javafx
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fx-tictactoe
fx-tictactoe Key Features
fx-tictactoe Examples and Code Snippets
Community Discussions
Trending Discussions on fx-tictactoe
QUESTION
Let me set up my end goal first: I want to build a scala only gui application, that I can design with scene builder and later port with gluon to any platform I want to.
I was able to find out, that one needs to use JavaFXPorts in Scala to make that happen. I also found out that I need to use gradle to apply gluon successfully, or so it seems (please correct me if I am wrong because that's where the headache starts)
So in short that means: ScalaFXML and Gradle need to work together, but how?
I've found some interesting projects, but sadly none of these hit my criteria just right:
- This one used JavaFX instead of ScalaFX
- This one added Java to the project instead of using pure scala
After a long time searching I found a project, that was almost right. Sadly, this was built in sbt and not in gradle. None the less I used that project as a base/example, as this was the first to use sfxml in way that was easily understood.
I have a gradle script, that almost works
...ANSWER
Answered 2018-Jun-29 at 07:45So after revisiting my gradle script and checking against the previously mentioned work arrounds, I found my mistake.
I didn't include the complete answer from here. So after editing my build.gradle to only include the necessary things, I got the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fx-tictactoe
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page