Closed adorokhine closed 4 years ago
TiledReader is currently only available as a source download from this GitHub repo, and as a pre-built JAR + source download from http://www.alexheyman.org/tiledreader/. (That second download is a slightly older version, which is different only in that it requires JavaFX.)
I haven't personally used Maven (or Gradle, or Bintray), but if TiledReader being easily compatible with Maven would help a lot of people, then I can look into how to make that happen. For now, if you want to add TiledReader to your Maven project, you can download or build its JAR locally, and then manually add it as a dependency.
Yes please!! Adding a dependency onto a project in bintray or maven central is a single line in my build script.
In order to use the zip the way you've packaged it, developers need to:
Compared to all of the above, adding literally one line to my build script is much much preferable!
If you're not sure where to get started, I'd recommend:
Cheers!
Maybe also follow the tiled versioning scheme for the maven artifact? So that the version of TiledReader indicates the compatibility level with tiled.
Hi, do you have any indication when this will be available? I can't easily share my project with collaborators now because of the manual installation.
Apologies for the wait; I've been busy with IRL things over the last couple of weeks. I'm hoping to have TiledReader published by September 10th at the latest.
Update: I submitted a New Project ticket to Sonatype a few days ago. I'm still waiting for it to receive a response. Once the ticket is resolved and the repository is set up, it shouldn't take me too long to get a release of TiledReader published there, barring unforeseen mysterious bugs.
As I remember, going the sonatype (maven central) route was definitely the hardest way of publishing, and bintray/jcenter was much easier. If it starts looking like a major pain you can look into the jcenter option. Didn't mean to cause you much trouble :)
Don't worry about it. The main reason I went with Sonatype was that @jvisser was kind enough to do a lot of the setup work for me unprompted.
Also, it seems like Sonatype was just waiting for me to leave a comment clarifying that an issue had been resolved. When I left that comment, they quickly resolved the ticket. It's late where I am, but I'll see if I can get a TiledReader release published tomorrow.
TiledReader 1.1.0 is now available on Maven Central. Let me know if you encounter any problems with using it.
Hi,
I would love to use this project as libtiled-java is so out of date, but I can't find any maven repo that contains it. Is it available for use somewhere? If so could you document how to link against it in maven or gradle?
Thanks!