-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (30 loc) · 844 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'java'
id("org.graalvm.buildtools.native") version "0.10.2"
}
group = 'com.vladimir'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
}
dependencies {
implementation 'org.bspfsystems:yamlconfiguration:2.0.2'
implementation 'org.java-websocket:Java-WebSocket:1.5.6'
implementation 'org.slf4j:slf4j-nop:2.1.0-alpha1'
implementation 'org.apache.commons:commons-lang3:3.14.0'
}
test {
useJUnitPlatform()
}
tasks.named('shadowJar', ShadowJar) {
mergeServiceFiles()
}
jar {
manifest {
attributes 'Main-Class': 'com.vladimir.Main'
}
}