Created
June 16, 2019 02:33
-
-
Save DrEngi/7e327f19e85f134f9c18da550782172d to your computer and use it in GitHub Desktop.
New build.gradle. Build by using ./gradlew shadowjar
This file contains 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.0.0' | |
id 'java' | |
} | |
group 'com.okayd' | |
version '1.0-SNAPSHOT' | |
sourceCompatibility = 1.8 | |
repositories { | |
mavenCentral() | |
jcenter() | |
} | |
dependencies { | |
testCompile group: 'junit', name: 'junit', version: '4.12' | |
compile 'net.dv8tion:JDA:3.8.3_463' | |
compile 'com.github.jengelman.gradle.plugins:shadow:2.0.1' | |
} | |
jar { | |
manifest { | |
attributes( | |
'Main-Class': 'Main' | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment