Skip to content
Permalink
Browse files

Added Pom and updated gitignore.

I wanna thank jammehcow  for making and maintaining !
More update's will come soon.
  • Loading branch information...
Development4you committed Oct 21, 2017
1 parent 984d699 commit 2824dbe0a7163287fbc86fd98b49d694efda44e1
@@ -1,8 +1,75 @@
.idea/
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm

*.iml
sandbox/
build/
classes/
gradle/
.gradle/
*.sh

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# .idea/shelf

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
*output
*bin

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
*.prefs
*.classpath
*.project
*.zip
out/
target/
*.iml
sandbox/
build/
classes/
gradle/
.gradle/
*.sh
121 pom.xml
@@ -0,0 +1,121 @@
<project>
<modelVersion>4.0.0</modelVersion>

<groupId>unwrittenfun.minecraft</groupId>
<artifactId>Lukkit</artifactId>
<version>1.1.4-beta</version>

<packaging>jar</packaging>

<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>

<build>
<sourceDirectory>src/</sourceDirectory>

<resources>
<resource>
<directory>src/</directory>
<includes>
<include>plugin.yml</include>
<include>config.yml</include>
<include>unwrittenfun/minecraft/lukkit/libs/</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>

<!-- Maven Assembly Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>out/</outputDirectory>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>
<!--Spigot API-->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.11-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

<!--Bukkit API-->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.11-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

<!--LuaJ JME-->
<dependency>
<groupId>org.luaj</groupId>
<artifactId>luaj-jme</artifactId>
<version>3.0.1</version>
<scope>compile</scope>
</dependency>

<!--LuaJ JSE-->
<dependency>
<groupId>org.luaj</groupId>
<artifactId>luaj-jse</artifactId>
<version>3.0.1</version>
<scope>compile</scope>
</dependency>

<!-- Unirest -->
<dependency>
<groupId>com.mashape.unirest</groupId>
<artifactId>unirest-java</artifactId>
<version>1.3.0</version>
<scope>compile</scope>
</dependency>

<!-- Zeroturnaround -->
<dependency>
<groupId>org.zeroturnaround</groupId>
<artifactId>zt-zip</artifactId>
<version>1.12</version>
<scope>compile</scope>
</dependency>

<!-- Reflections -->
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.11</version>
</dependency>
</dependencies>
</project>
@@ -29,7 +29,7 @@ public static void checkForUpdates(String pluginVersion) {
} else {
Main.logger.info("You're up to date with the latest version of Lukkit.");
}
} catch (UnirestException e) { e.printStackTrace(); }
} catch (Exception e ) { e.printStackTrace(); }
}

/**
@@ -39,7 +39,7 @@
Reflections reflections = new Reflections(new ConfigurationBuilder()
.setScanners(new SubTypesScanner(false), new ResourcesScanner())
.setUrls(ClasspathHelper.forClassLoader(classLoadersList.toArray(new ClassLoader[0])))
.filterInputsBy(new FilterBuilder().include(FilterBuilder.prefix("org.bukkit"))));;
.filterInputsBy(new FilterBuilder().include(FilterBuilder.prefix("org.bukkit"))));

classes = reflections.getSubTypesOf(Object.class);
}
@@ -196,7 +196,7 @@ protected String getFilePath() {
}

/**
* Gets the associated {@link nz.co.jammehcow.lukkit.environment.plugin.LukkitPlugin}.
* Gets the associated {@link LukkitPlugin}.
*
* @return the LukkitPlugin
*/
@@ -3,7 +3,7 @@ main: nz.co.jammehcow.lukkit.Main
version: 2.0.0-dev

author: jammehcow
authors: [UnwrittenFun]
authors: [UnwrittenFun,No_lifer]

commands:
lukkit:

0 comments on commit 2824dbe

Please sign in to comment.
You can’t perform that action at this time.