mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Add sponge / bukkit jars
This commit is contained in:
		
							
								
								
									
										28
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								pom.xml
									
									
									
									
									
								
							@@ -37,6 +37,34 @@
 | 
			
		||||
            </resource>
 | 
			
		||||
        </resources>
 | 
			
		||||
        <plugins>
 | 
			
		||||
 	       
 | 
			
		||||
			<plugin>
 | 
			
		||||
				<artifactId>maven-jar-plugin</artifactId>
 | 
			
		||||
			    	<executions>
 | 
			
		||||
			  	        <execution>
 | 
			
		||||
				            <id>bukkit</id>
 | 
			
		||||
				            <goals><goal>jar</goal></goals>
 | 
			
		||||
				            <phase>package</phase>
 | 
			
		||||
				            <configuration>
 | 
			
		||||
				            	<classifier>bukkit</classifier>
 | 
			
		||||
				            	<excludes>
 | 
			
		||||
								<exclude>**/com/plotsquared/sponge/*</exclude>
 | 
			
		||||
		              			</excludes>
 | 
			
		||||
		            		</configuration>
 | 
			
		||||
		          		</execution>
 | 
			
		||||
		          		<execution>
 | 
			
		||||
		            		<id>sponge</id>
 | 
			
		||||
		            		<goals><goal>jar</goal></goals>
 | 
			
		||||
		            		<phase>package</phase>
 | 
			
		||||
		            		<configuration>
 | 
			
		||||
			              		<classifier>sponge</classifier>
 | 
			
		||||
			              		<includes>
 | 
			
		||||
		                		<include>**/com/plotsquared/bukkit/*</include>
 | 
			
		||||
		              			</includes>
 | 
			
		||||
            				</configuration>
 | 
			
		||||
        				</execution>
 | 
			
		||||
       				</executions>
 | 
			
		||||
      		</plugin>
 | 
			
		||||
            <plugin>
 | 
			
		||||
                <artifactId>maven-compiler-plugin</artifactId>
 | 
			
		||||
                <version>2.3.2</version>
 | 
			
		||||
 
 | 
			
		||||
@@ -201,7 +201,7 @@ public class PS {
 | 
			
		||||
                    log("&8 - &3Or: &7" + url);
 | 
			
		||||
                }
 | 
			
		||||
                else if (LAST_VERSION != null && !VERSION.equals(LAST_VERSION)) {
 | 
			
		||||
                    log("&aThanks for updating from: " + LAST_VERSION + " to " + VERSION);
 | 
			
		||||
                    log("&aThanks for updating from: " + LAST_VERSION + " to " + StringMan.join(VERSION, "."));
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        });
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,6 @@
 | 
			
		||||
package com.intellectualcrafters.plot.util;
 | 
			
		||||
 | 
			
		||||
import java.util.Arrays;
 | 
			
		||||
import java.util.Collection;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
import java.util.Map.Entry;
 | 
			
		||||
@@ -160,6 +161,10 @@ public class StringMan {
 | 
			
		||||
        return result.toString();
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    public static String join(int[] array, String delimiter) {
 | 
			
		||||
        return join(Arrays.asList(array), delimiter);
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    public static boolean isEqual(String a, String b ) {
 | 
			
		||||
        return (a == b || (a.length() == b.length() && a.hashCode() == b.hashCode() && a.equals(b)));
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user