Skip to content

fr.zcraft.quartzlib 0.0.1

Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
  <groupId>fr.zcraft</groupId>
  <artifactId>quartzlib</artifactId>
  <version>0.0.1</version>
</dependency>
Install 2/2: Run via command line
$ mvn install

About this package

This package is available in the following repository.

<repository>
  <id>zdevelopers-quartzlib</id>
  <url>https://maven.zcraft.fr/QuartzLib</url>
</repository>

This is the first release of the new QuartzLib—now with proper versionning, tests and repositories.

The functionalities are the same as those of the old 0.99 version, but in a better environment (including, you know, a functional Maven repository). We also renamed zLib to QuartzLib, so we have a more unique name (we're not a compression library) that is more representative of what we offer in the Minecraft world.

Breaking changes — How to migrate from zLib 0.99

Moved Maven repository

You must use our new (and now, stable) repository, at https://maven.zcraft.fr/QuartzLib. To do so, put his in your pom.xml, instead of the old repository:

    <repository>
        <id>zdevelopers-quartzlib</id>
        <url>https://maven.zcraft.fr/QuartzLib</url>
    </repository>

Also, the artifact ID changed to reflect the new name. You should update the dependency like so:

    <dependency>
        <groupId>fr.zcraft</groupId>
        <artifactId>quartzlib</artifactId>
        <version>0.0.1</version>
    </dependency>

Of course, feel free to update the version if new versions have been released when you read this.

Finally, as the package changed too, you should update your shading settings. Update the configuration tag like this:

                     <artifactSet>
                         <includes>
                             <include>fr.zcraft:quartzlib</include>
                         </includes>
                     </artifactSet>
                     <relocations>
                         <relocation>
                             <pattern>fr.zcraft.quartzlib</pattern>
                             <shadedPattern>YOUR.OWN.PACKAGE.quartzlib</shadedPattern>
                         </relocation>
                     </relocations>

…keeping other shading as is, if any.

Renamed packages and classes

zLib is now QuartzLib, so a lot of things were renamed.

  • The base package fr.zcraft.zlib is now fr.zcraft.quartzlib.
  • The ZLib class is now QuartzLib.
  • The ZLibComponent class is now QuartzComponent.
  • The ZPlugin class is now QuartzPlugin.

Just rename these references—the interfaces have remained the same.

Details


Download activity

  • Total downloads 114
  • Last 30 days 0
  • Last week 0
  • Today 0


Recent versions

View all