HumbleUI / Skija

Java bindings for Skia
Apache License 2.0
498 stars 34 forks source link

Allow usage of maven or gradle to build shared java code. #20

Closed 0-x-2-2 closed 1 year ago

0-x-2-2 commented 2 years ago

Allowing the usage of Maven or Gradle to build the shared code for Skija will improve how easy it is for new people to contribute to the project easier because getting the project to open in a popular Java IDE and just work is not possible without pre-processing the repo due to file structure not being standard and possibly other reasons.

You could look at netty.io for inspiration if you want to extend the building to building cross-platform native libraries with Maven/Gradle but such tasks are usually inferior compared to the alternatives.

tonsky commented 2 years ago

Maven/Gradle would complicate build script a lot and add a lot of extra delay. If your goal is to open project in IDE maybe there are other ways to do it? What IDE are you talking about? Why was opening project hard?

0-x-2-2 commented 2 years ago

Using IntelliJ with the project outside of being a glorified text editor required defining the libraries and compiler settings manually and moving all of the java source files into a path that matches the package.

tonsky commented 2 years ago

I’m ready to move sources if you (or anybody else) need it and want to become a serial contributor. For example, after three PRs?

Glavo commented 1 year ago

I wrote a python script for generating IDEA projects, which may meet your needs.

See #35