Merge pull request #16

Change from Maven to Gradle
This commit is contained in:
Auxilor 2020-11-17 13:16:27 +00:00 committed by GitHub
commit 676bef0a3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 292 additions and 529 deletions

17
NMS/API/build.gradle Normal file
View File

@ -0,0 +1,17 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'com.willfp.ecoenchants.java-conventions'
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.15.2-R0.1-SNAPSHOT'
}
jar{
archiveName = findProperty("Name") + " v" + findProperty("version") + ".jar"
}
description = 'EcoEnchants API'

View File

@ -1,24 +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">
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>API</artifactId>
<name>EcoEnchants API</name>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

18
NMS/v1_15_R1/build.gradle Normal file
View File

@ -0,0 +1,18 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'com.willfp.ecoenchants.java-conventions'
}
dependencies {
compileOnly project(':API')
compileOnly 'org.spigotmc:spigot:1.15.2-R0.1-SNAPSHOT'
}
jar{
archiveName = project.name + " v" + findProperty("version") + ".jar"
}
description = 'v1_15_R1'

View File

@ -1,29 +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">
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>v1_15_R1</artifactId>
<dependencies>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>API</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

18
NMS/v1_16_R1/build.gradle Normal file
View File

@ -0,0 +1,18 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'com.willfp.ecoenchants.java-conventions'
}
dependencies {
compileOnly project(':API')
compileOnly 'org.spigotmc:spigot:1.16.1-R0.1-SNAPSHOT'
}
jar{
archiveName = project.name + " v" + findProperty("version") + ".jar"
}
description = 'v1_16_R1'

View File

@ -1,29 +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">
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>v1_16_R1</artifactId>
<dependencies>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>API</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.16.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

18
NMS/v1_16_R2/build.gradle Normal file
View File

@ -0,0 +1,18 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'com.willfp.ecoenchants.java-conventions'
}
dependencies {
compileOnly project(':API')
compileOnly 'org.spigotmc:spigot:1.16.2-R0.1-SNAPSHOT'
}
jar{
archiveName = project.name + " v" + findProperty("version") + ".jar"
}
description = 'v1_16_R2'

View File

@ -1,29 +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">
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>v1_16_R2</artifactId>
<dependencies>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>API</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.16.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

18
NMS/v1_16_R3/build.gradle Normal file
View File

@ -0,0 +1,18 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'com.willfp.ecoenchants.java-conventions'
}
dependencies {
compileOnly project(':API')
compileOnly 'org.spigotmc:spigot:1.16.4-R0.1-SNAPSHOT'
}
jar{
archiveName = project.name + " v" + findProperty("version") + ".jar"
}
description = 'v1_16_R3'

View File

@ -1,29 +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">
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.2.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>v1_16_R3</artifactId>
<dependencies>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>API</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.16.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

56
Plugin/build.gradle Normal file
View File

@ -0,0 +1,56 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'com.willfp.ecoenchants.java-conventions'
id 'java'
}
compileJava.dependsOn clean
build.dependsOn shadowJar
dependencies {
implementation project(':API')
implementation project(':v1_15_R1')
implementation project(':v1_16_R1')
implementation project(':v1_16_R2')
implementation project(':v1_16_R3')
implementation 'org.apache.maven:maven-artifact:3.0.3'
implementation 'org.jetbrains:annotations:19.0.0'
implementation 'org.bstats:bstats-bukkit:1.7'
compileOnly 'org.spigotmc:spigot-api:1.16.3-R0.1-SNAPSHOT'
compileOnly 'commons-io:commons-io:2.8.0'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.4-SNAPSHOT'
compileOnly 'com.github.TechFortress:GriefPrevention:16.14.0'
compileOnly 'com.massivecraft:Factions:1.6.9.5-U0.5.10'
shadow files('../lib/Kingdoms-1.9.2.0.0.2.jar')
shadow files('../lib/SpartanAPI.jar')
compileOnly 'com.github.TownyAdvanced:Towny:0.96.2.0'
compileOnly 'com.github.angeschossen:LandsAPI:4.7.3'
compileOnly 'fr.neatmonster:nocheatplus:3.16.1-SNAPSHOT'
compileOnly 'de.janmm14:aac-api:4.2.0'
compileOnly 'com.github.jiangdashao:matrix-api-repo:317d4635fd'
compileOnly 'com.comphenix.protocol:ProtocolLib:4.6.0-SNAPSHOT'
compileOnly 'net.ess3:EssentialsX:2.18.1'
compileOnly 'com.destroystokyo.paper:paper-api:1.16.3-R0.1-SNAPSHOT'
compileOnly 'com.gmail.nossr50.mcMMO:mcMMO:2.1.157'
compileOnly 'me.clip:placeholderapi:2.10.9'
}
shadowJar {
relocate('org.bstats.bukkit', 'com.willfp.ecoenchants.shaded.bstats')
relocate('org.jetbrains.annotations', 'com.willfp.ecoenchants.shaded.annotations')
relocate('org.apache.maven', 'com.willfp.ecoenchants.shaded.maven') {
exclude 'org.codehaus.plexus.util'
}
relocate('org.codehaus.plexus.util', 'com.willfp.ecoenchants.shaded.plexus')
archiveName = findProperty("plugin-name") + " v" + findProperty("version") + ".jar"
}
jar{
archiveName = findProperty("plugin-name") + " v" + findProperty("version") + " " + "unshaded" + ".jar"
}
description = 'EcoEnchants'

View File

@ -1,285 +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>
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.2.3</version>
</parent>
<artifactId>plugin</artifactId>
<packaging>jar</packaging>
<name>EcoEnchants</name>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</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>
<artifactSet>
<excludes>org.codehaus.plexus:plexus-utils</excludes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.jetbrains.annotations</pattern>
<shadedPattern>com.willfp.ecoenchants.shaded.annotations</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.maven</pattern>
<shadedPattern>com.willfp.ecoenchants.shaded.maven</shadedPattern>
</relocation>
<relocation>
<pattern>org.bstats</pattern>
<!-- Replace this with your package! -->
<shadedPattern>com.willfp.ecoenchants.shaded.bstats</shadedPattern>
</relocation>
</relocations>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<excludePackageNames>com.willfp.ecoenchants.enchantments.ecoenchants.*</excludePackageNames>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>install-external-non-maven2-jar</id>
<phase>initialize</phase>
<configuration>
<repositoryLayout>default</repositoryLayout>
<groupId>me.vagdedes</groupId>
<artifactId>SpartanAPI</artifactId>
<version>1.0.0</version>
<file>${project.parent.basedir}/lib/SpartanAPI.jar</file>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.16.3-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>API</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>v1_15_R1</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>v1_16_R1</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>v1_16_R2</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>v1_16_R3</artifactId>
<version>${project.parent.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>3.0.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.8.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.0.4-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.TechFortress</groupId>
<artifactId>GriefPrevention</artifactId>
<version>16.14.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.massivecraft</groupId>
<artifactId>Factions</artifactId>
<version>1.6.9.5-U0.5.13</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kingdoms</groupId>
<artifactId>kingdoms</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.TownyAdvanced</groupId>
<artifactId>Towny</artifactId>
<version>0.96.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.angeschossen</groupId>
<artifactId>LandsAPI</artifactId>
<version>4.7.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>19.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>fr.neatmonster</groupId>
<artifactId>nocheatplus</artifactId>
<version>3.16.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.janmm14</groupId>
<artifactId>aac-api</artifactId>
<version>4.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.jiangdashao</groupId>
<artifactId>matrix-api-repo</artifactId>
<version>317d4635fd</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.vagdedes</groupId>
<artifactId>SpartanAPI</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>4.6.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.ess3</groupId>
<artifactId>EssentialsX</artifactId>
<version>2.18.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.destroystokyo.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.16.3-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.9</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.mojang</groupId>
<artifactId>brigadier</artifactId>
</exclusion>
<exclusion>
<groupId>com.tealcube.minecraft.bukkit</groupId>
<artifactId>fanciful</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId>
<version>2.1.157</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -3,7 +3,6 @@ package com.willfp.ecoenchants.util;
import com.willfp.ecoenchants.integrations.placeholder.PlaceholderManager;
import net.md_5.bungee.api.ChatColor;
import org.bukkit.entity.Player;
import scala.runtime.Static;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

13
buildSrc/build.gradle Normal file
View File

@ -0,0 +1,13 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
// Support convention plugins written in Groovy. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build.
id 'groovy-gradle-plugin'
}
repositories {
// Use the plugin portal to apply community plugins in convention plugins.
gradlePluginPortal()
}

View File

@ -0,0 +1,114 @@
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java-library'
id 'maven-publish'
}
repositories {
mavenCentral()
jcenter()
mavenLocal()
maven {
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
url 'https://repo.codemc.org/repository/maven-public'
}
maven {
url 'https://oss.sonatype.org/content/groups/public/'
}
maven {
url 'https://maven.enginehub.org/repo/'
}
maven {
url 'https://jitpack.io'
}
maven {
url 'https://ci.ender.zone/plugin/repository/project/'
}
maven {
url 'https://ci.ender.zone/plugin/repository/everything/'
}
maven {
url 'https://repo.md-5.net/content/repositories/snapshots/'
}
maven {
url 'https://repo.janmm14.de/repository/public/'
}
maven {
url 'https://repo.dmulloy2.net/nexus/repository/public/'
}
maven {
url 'https://papermc.io/repo/repository/maven-public/'
}
maven {
url 'https://repo.maven.apache.org/maven2/'
}
maven {
url 'https://repo.dustplanet.de/artifactory/ext-release-local/'
}
maven {
url 'https://maven.seyfahni.de/repository/snapshots/'
}
maven {
url 'https://libraries.minecraft.net/'
}
maven {
url 'https://repo.spongepowered.org/maven/'
}
maven {
url 'https://org.kitteh.pastegg'
}
maven {
url 'http://repo.mikeprimm.com/'
}
maven {
url 'http://maven.sk89q.com/repo/'
}
maven {
url 'https://github.com/factions-site/repo/raw/public/'
}
maven {
url 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
}
group = 'com.willfp.ecoenchants'
archivesBaseName = project.name
version = project.version
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

2
gradle.properties Normal file
View File

@ -0,0 +1,2 @@
version = 5.1.0
plugin-name = EcoEnchants

103
pom.xml
View File

@ -1,103 +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.willfp.ecoenchants</groupId>
<artifactId>parent</artifactId>
<version>5.2.3</version>
<packaging>pom</packaging>
<name>EcoEnchants Parent</name>
<modules>
<module>NMS/API</module>
<module>NMS/v1_15_R1</module>
<module>NMS/v1_16_R1</module>
<module>NMS/v1_16_R2</module>
<module>NMS/v1_16_R3</module>
<module>Plugin</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<main.basedir>${project.basedir}</main.basedir>
</properties>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>CodeMC</id>
<url>https://repo.codemc.org/repository/maven-public</url>
</repository>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
<repository>
<id>sk89q-repo</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>enderzone-projects</id>
<url>https://ci.ender.zone/plugin/repository/project/</url>
</repository>
<repository>
<id>enderzone</id>
<url>https://ci.ender.zone/plugin/repository/everything/</url>
</repository>
<repository>
<id>md_5-releases</id>
<url>https://repo.md-5.net/content/repositories/snapshots/</url>
</repository>
<repository>
<id>janmm14-public</id>
<url>https://repo.janmm14.de/repository/public/</url>
</repository>
<repository>
<id>dmulloy2-repo</id>
<url>https://repo.dmulloy2.net/nexus/repository/public/</url>
</repository>
<repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<repository>
<id>mcmmo-repo</id>
<url>http://repo.mcmmo.org/</url>
</repository>
</repositories>
<build>
<finalName>${project.name} v${project.version}</finalName>
<defaultGoal>clean package install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</build>
</project>

18
settings.gradle Normal file
View File

@ -0,0 +1,18 @@
/*
* This file was generated by the Gradle 'init' task.
*/
rootProject.name = 'parent'
include('v1_15_R1')
include('plugin')
include('API')
include('v1_16_R1')
include('v1_16_R2')
include('v1_16_R3')
project(":v1_15_R1").projectDir = file('NMS/v1_15_R1')
project(":plugin").projectDir = file('Plugin')
project(":API").projectDir = file('NMS/API')
project(":v1_16_R1").projectDir = file('NMS/v1_16_R1')
project(":v1_16_R2").projectDir = file('NMS/v1_16_R2')
project(":v1_16_R3").projectDir = file('NMS/v1_16_R3')