forked from crpmax/mc-bots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (31 loc) · 1.02 KB
/
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
plugins {
id 'java'
}
group 'me.creepermaxcz.mc-bots'
version '1.2.11'
sourceCompatibility = 1.17
targetCompatibility = 1.17
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://repo.opencollab.dev/maven-snapshots/' }
maven { url 'https://repo.opencollab.dev/maven-releases/' }
}
dependencies {
implementation 'org.geysermc.mcprotocollib:protocol:1.20.6-2-SNAPSHOT'
implementation 'net.kyori:adventure-text-serializer-gson:4.16.0'
implementation 'commons-cli:commons-cli:1.5.0'
implementation 'com.diogonunes:JColor:5.2.0'
implementation 'dnsjava:dnsjava:3.4.3'
implementation 'org.slf4j:slf4j-nop:2.0.13'
implementation 'org.jline:jline:3.22.0'
}
jar {
manifest {
attributes 'Main-Class': 'me.creepermaxcz.mcbots.Main'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
from {
configurations.runtimeClasspath.filter{ it.exists() }.collect { it.isDirectory() ? it : zipTree(it) }
}
}