Created
March 9, 2015 15:06
-
-
Save orekyuu/e5ca4e366fb85a675386 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'idea' | |
compileJava.options.encoding = 'UTF-8' | |
compileTestJava.options.encoding = 'UTF-8' | |
sourceCompatibility = 1.8 | |
version = '1.0' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', includes: ['*.jar']) | |
compile "mysql:mysql-connector-java:5.1.34" | |
compile 'com.google.code.gson:gson:2.2.4' | |
testCompile group: 'junit', name: 'junit', version: '4.11' | |
} | |
jar { | |
configurations.compile.each { File file -> | |
if (!file.getName().contains("spigot") && !file.getName().contains('bukkit')) | |
from zipTree(file) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment