Java Desktop And Android Application At The Same Time - Shared Packages
I want to create an application having two versions: one for desktop - java standard edition, and one for android. As GUI would be quite simple and huge part of logic would be prob
Solution 1:
I would use the 3-project approach. As you have already said, make a seperate project for the core. (API)
That way you can also create unit test for the core only and your setup will still look clean. What you should add to the 'core' project is an ant file or something similar to generate a jar file from the project, thus making it possible to import your core into the other projects. Another advantage is that any library used in the core, will only have to be imported there, as the import of the core will use those.
Post a Comment for "Java Desktop And Android Application At The Same Time - Shared Packages"