-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (58 loc) · 2.18 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
plugins {
id 'maven-publish'
id 'java-library'
id 'java'
}
archivesBaseName = rootProject.archives_base_name
version = rootProject.mod_version
group = rootProject.maven_group
repositories {
maven {
name "KosmX's maven"
url "https://maven.kosmx.dev"
}
maven {
name "Redlance"
url "https://repo.redlance.org/public"
}
mavenCentral()
mavenLocal()
}
dependencies {
implementation api("com.github.mizosoft.methanol:methanol:1.7.0")
implementation api("com.github.mizosoft.methanol:methanol-gson:1.7.0")
implementation api("org.apache.logging.log4j:log4j-api:${project.log4j_version}")
implementation "org.apache.logging.log4j:log4j-core:${project.log4j_version}"
implementation "org.apache.logging.log4j:log4j-jul:${project.log4j_version}"
runtimeOnly "com.lmax:disruptor:4.0.0"
implementation api("org.apache.commons:commons-lang3:3.17.0")
implementation api("commons-io:commons-io:2.18.0")
implementation api("com.google.code.gson:gson:2.11.0")
implementation api("net.kyori:adventure-api:${project.adventure_version}")
implementation api("net.kyori:adventure-text-serializer-legacy:${project.adventure_version}")
implementation api("net.kyori:adventure-text-serializer-plain:${project.adventure_version}")
implementation api("net.kyori:adventure-text-serializer-gson:${project.adventure_version}")
implementation api("io.github.kosmx.emotes:emotesExecutor:${project.emotecraft_version}")
implementation api("io.github.kosmx.emotes:emotesServer:${project.emotecraft_version}")
implementation api("io.github.kosmx.emotes:emotesMain:${project.emotecraft_version}")
implementation api("io.github.kosmx.emotes:emotesAPI:${project.emotecraft_version}")
implementation api("dev.kosmx.player-anim:anim-core:2.0.0-alpha4+1.21.1")
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
options.release.set 21
}
java {
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = rootProject.archives_base_name
from components.java
}
}
repositories {
mavenLocal()
}
}