parent
25c479f880
commit
07c4de331e
8 changed files with 39 additions and 124 deletions
@ -1,3 +1,4 @@ |
|||||||
# User-specific stuff |
# User-specific stuff |
||||||
out/ |
out/ |
||||||
target/ |
target/ |
||||||
|
server/ |
@ -0,0 +1,9 @@ |
|||||||
|
<component name="ArtifactManager"> |
||||||
|
<artifact type="jar" name="Sharehealth"> |
||||||
|
<output-path>$PROJECT_DIR$/out/artifacts/Sharehealth</output-path> |
||||||
|
<root id="archive" name="Sharehealth.jar"> |
||||||
|
<element id="module-output" name="Sharehealth" /> |
||||||
|
<element id="file-copy" path="$PROJECT_DIR$/src/main/resources/plugin.yml" /> |
||||||
|
</root> |
||||||
|
</artifact> |
||||||
|
</component> |
@ -1,76 +0,0 @@ |
|||||||
<?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"> |
|
||||||
<modelVersion>4.0.0</modelVersion> |
|
||||||
|
|
||||||
<groupId>com.benjocraeft</groupId> |
|
||||||
<artifactId>sharehealth</artifactId> |
|
||||||
<version>1.0</version> |
|
||||||
<packaging>jar</packaging> |
|
||||||
|
|
||||||
<name>Sharehealth</name> |
|
||||||
|
|
||||||
<description>This plugin makes all players on the server share their health, if one dies, everybody dies. |
|
||||||
</description> |
|
||||||
<properties> |
|
||||||
<java.version>1.8</java.version> |
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
||||||
</properties> |
|
||||||
<url>https://mc.benjocraeft.com</url> |
|
||||||
|
|
||||||
<build> |
|
||||||
<plugins> |
|
||||||
<plugin> |
|
||||||
<groupId>org.apache.maven.plugins</groupId> |
|
||||||
<artifactId>maven-compiler-plugin</artifactId> |
|
||||||
<version>3.8.1</version> |
|
||||||
<configuration> |
|
||||||
<source>${java.version}</source> |
|
||||||
<target>${java.version}</target> |
|
||||||
</configuration> |
|
||||||
</plugin> |
|
||||||
<plugin> |
|
||||||
<groupId>org.apache.maven.plugins</groupId> |
|
||||||
<artifactId>maven-shade-plugin</artifactId> |
|
||||||
<version>3.2.4</version> |
|
||||||
<executions> |
|
||||||
<execution> |
|
||||||
<phase>package</phase> |
|
||||||
<goals> |
|
||||||
<goal>shade</goal> |
|
||||||
</goals> |
|
||||||
<configuration> |
|
||||||
<createDependencyReducedPom>false</createDependencyReducedPom> |
|
||||||
</configuration> |
|
||||||
</execution> |
|
||||||
</executions> |
|
||||||
</plugin> |
|
||||||
</plugins> |
|
||||||
<resources> |
|
||||||
<resource> |
|
||||||
<directory>src/main/resources</directory> |
|
||||||
<filtering>true</filtering> |
|
||||||
</resource> |
|
||||||
</resources> |
|
||||||
</build> |
|
||||||
|
|
||||||
<repositories> |
|
||||||
<repository> |
|
||||||
<id>papermc-repo</id> |
|
||||||
<url>https://papermc.io/repo/repository/maven-public/</url> |
|
||||||
</repository> |
|
||||||
<repository> |
|
||||||
<id>sonatype</id> |
|
||||||
<url>https://oss.sonatype.org/content/groups/public/</url> |
|
||||||
</repository> |
|
||||||
</repositories> |
|
||||||
|
|
||||||
<dependencies> |
|
||||||
<dependency> |
|
||||||
<groupId>io.papermc.paper</groupId> |
|
||||||
<artifactId>paper-api</artifactId> |
|
||||||
<version>1.18.1-R0.1-SNAPSHOT</version> |
|
||||||
<scope>provided</scope> |
|
||||||
</dependency> |
|
||||||
</dependencies> |
|
||||||
</project> |
|
@ -1,3 +1,3 @@ |
|||||||
import shutil |
import shutil |
||||||
|
|
||||||
shutil.copy2("target/sharehealth-1.0.jar", "server") |
shutil.copy2("out/artifacts/Sharehealth/Sharehealth.jar", "server/plugins") |
||||||
|
Loading…
Reference in new issue