CI via jitpack

master
William 2 years ago
parent 939f8d8677
commit 94346e49cb

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings"> <component name="GradleSettings">
<option name="linkedExternalProjectsSettings"> <option name="linkedExternalProjectsSettings">
<GradleProjectSettings> <GradleProjectSettings>

@ -5,15 +5,10 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="eb1b96e4-7be9-42b8-97ea-30a45323904d" name="Changes" comment="Initial commit"> <list default="true" id="eb1b96e4-7be9-42b8-97ea-30a45323904d" name="Changes" comment="Initial commit">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" /> <change afterPath="$PROJECT_DIR$/jitpack.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/gradle.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/gradle.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/LICENSE" beforeDir="false" afterPath="$PROJECT_DIR$/LICENSE" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" /> <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/build.gradle" afterDir="false" />
<change beforePath="$PROJECT_DIR$/settings.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/settings.gradle" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/me/william278/husksync/bukkit/data/DataSerializer.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/me/william278/husksync/bukkit/data/DataSerializer.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/net/william278/hslmigrator/HSLConverter.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/net/william278/hslmigrator/HSLConverter.java" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -49,6 +44,7 @@
"RunOnceActivity.OpenProjectViewOnStart": "true", "RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true", "RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false", "WebServerToolWindowFactoryState": "false",
"nodejs_package_manager_path": "npm",
"project.structure.last.edited": "Modules", "project.structure.last.edited": "Modules",
"project.structure.proportion": "0.0", "project.structure.proportion": "0.0",
"project.structure.side.proportion": "0.0" "project.structure.side.proportion": "0.0"
@ -101,7 +97,16 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1657372889800</updated> <updated>1657372889800</updated>
<workItem from="1657372891438" duration="1780000" /> <workItem from="1657372891438" duration="1780000" />
<workItem from="1657374702614" duration="359000" />
</task> </task>
<task id="LOCAL-00001" summary="Initial commit">
<created>1657374705360</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1657374705360</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">

@ -1,7 +1,50 @@
# HSLDataConverter # HSLDataConverter
[![](https://jitpack.io/v/net.william278/HSLDataConverter.svg)](https://jitpack.io/#net.william278/HSLDataConverter)
A simple library to convert serialized legacy HuskSync (v1.x) data into Spigot API data. A simple library to convert serialized legacy HuskSync (v1.x) data into Spigot API data.
This library is only for use in upgrading or converting HuskSync v1.x data in a portable manner and is utilised in HuskSync v2.x for data migration. This library is only for use in upgrading or converting HuskSync v1.x data in a portable manner and is utilised in
HuskSync v2.x for data migration.
## Including in your project
Builds are available on [JitPack](https://jitpack.io/#net.william278/HSLDataConverter/). Include them in your pom.xml or
build.gradle file as per below.
### Maven
```xml
<repository>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
```
```xml
<dependency>
<groupId>net.william278</groupId>
<artifactId>HSLDataConverter</artifactId>
<version>1.0.0</version>
</dependency>
```
### Gradle
```groovy
repositories {
maven { url 'https://jitpack.io' }
}
```
```groovy
dependencies {
implementation 'net.william278:HSLDataConverter:1.0.0'
}
```
## Building ## Building
To build, simply run `./gradlew clean build` in the source root. Legacy HuskSync serialized classes are bundled and this resource does not depend on the HuskSync plugin itself.
To build, simply run `./gradlew clean build` in the source root. Legacy HuskSync serialized classes are bundled and this
resource does not depend on the HuskSync plugin itself.

@ -0,0 +1,2 @@
jdk:
- openjdk16
Loading…
Cancel
Save