Created
September 5, 2016 12:08
-
-
Save DenWav/87ab965f4246083a3e5238d602e1d136 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
| /* | |
| * StatCraft Plugin | |
| * | |
| * Copyright (c) 2016 Kyle Wood (DemonWav) | |
| * https://www.demonwav.com | |
| * | |
| * MIT License | |
| */ | |
| repositories { | |
| maven { | |
| name = "spigotmc-repo" | |
| url = "https://hub.spigotmc.org/nexus/content/groups/public/" | |
| } | |
| } | |
| dependencies { | |
| compile project(":statcraft-common") | |
| compileOnly "org.bukkit:bukkit:1.10.2-R0.1-SNAPSHOT" | |
| } | |
| processResources { | |
| from("src/main/resources") { | |
| expand "version": project.version | |
| } | |
| } | |
| shadowJar { | |
| dependencies { | |
| // Bukkit includes snakeyaml, but we bundle configurate with our Bukkit jars, which also includes it | |
| // So we manually exclude it | |
| exclude(dependency("org.yaml::")) | |
| // Bukkit also includes guava, which is bundled with configurate-core, so again we exclude it | |
| exclude(dependency("com.google.guava::")) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment