Created
March 29, 2020 16:02
-
-
Save dkstrong/75d7f32d6ddf7c5a736751725208f0e4 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
plugins { | |
id 'com.github.johnrengelman.shadow' version '5.2.0' | |
id 'java' | |
} | |
group 'GhostBot' | |
version '1.0-SNAPSHOT' | |
sourceCompatibility = 1.8 | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile 'com.github.ocraft:ocraft-s2client-bot:0.3.13' | |
compile 'org.joml:joml:1.9.17' | |
testCompile group: 'junit', name: 'junit', version: '4.12' | |
} | |
jar { | |
manifest { | |
attributes( | |
"Main-Class": "ghostbot.Main" | |
) | |
} | |
} | |
shadowJar { | |
transform(com.github.jengelman.gradle.plugins.shadow.transformers.AppendingTransformer) { | |
resource = 'reference.conf' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment