add fabric metadata

This commit is contained in:
creeper123123321 2019-10-27 09:15:45 -03:00
parent a8d0a4dd14
commit a13c417352
5 changed files with 86 additions and 0 deletions

52
fabric/pom.xml Normal file
View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>viaversion-parent</artifactId>
<groupId>us.myles</groupId>
<version>3.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>viaversion-fabric</artifactId>
<build>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>src/main/resources/</directory>
<includes>
<include>**</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>filter-src</id>
<goals>
<goal>filter-sources</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Common Module -->
<dependency>
<groupId>us.myles</groupId>
<artifactId>viaversion-common</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,28 @@
{
"schemaVersion": 1,
"id": "viaversion",
"name": "ViaVersion API",
"version": "${project.version}",
"description": "${project.description}",
"license": "MIT",
"contact": {
"homepage": "https://viaversion.com/",
"issues": "https://github.com/ViaVersion/ViaVersion/issues",
"sources": "https://github.com/ViaVersion/ViaVersion"
},
"icon": "assets/viaversion/textures/squarelogo.png",
"environment": "*",
"authors": [
"_MylesC",
"Matsv"
],
"depends": {
"fabricloader": ">=0.4.0"
},
"recommends": {
"viafabric": ">=0.2.0-SNAPSHOT"
},
"custom": {
"modmenu:api": true
}
}

View File

@ -101,6 +101,11 @@
<artifactId>viaversion-bungee</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>us.myles</groupId>
<artifactId>viaversion-fabric</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>us.myles</groupId>
<artifactId>viaversion-sponge</artifactId>

View File

@ -19,6 +19,7 @@
<module>common</module>
<module>bukkit</module>
<module>bungee</module>
<module>fabric</module>
<module>sponge</module>
<module>sponge-legacy</module>
<module>velocity</module>