yafred / asn1-tool

A java tool to generate Java encoders and decoders from ASN.1 specifications.
MIT License
43 stars 22 forks source link

Create jitpack.yml so jitpack.io uses java 11 and can compile this #15

Closed Flole998 closed 2 years ago

Flole998 commented 2 years ago

As we are using String.strip() which was introduced in java 11 this is required.

yafred commented 2 years ago

Can you expand on why this repository needs a jitpack.yml ?

Flole998 commented 2 years ago

I haven't found the artifacts hosted everywhere else, so I used jitpack to add this project as a dependency to mine. However, your project requires java 11 (as mentioned above) so jitpack won't build this unless it's told to use it, which this file does.

yafred commented 2 years ago

Which artifacts from this project are you using ?

Is your project public (so that I can see how you use mine) ?

Flole998 commented 2 years ago

I'm using your runtime by adding it as a dependency to my pom.xml. This change basically makes it possible to do that without cloning and building it locally.

If you rather want to provide the maven artifacts through maven central or some other repositories feel free, but there should be at least one repository so it's easy to use and jitpack was the easiest that came to my mind.