-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
78 lines (67 loc) · 1.81 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
71
72
73
74
75
76
77
78
plugins {
id "java-library"
id "maven-publish"
id "com.gradleup.shadow" version "8.3.3"
}
allprojects {
group = "ru.boomearo"
version = "1.5.15"
}
subprojects {
apply plugin: "java"
compileJava {
options.encoding = "UTF-8"
}
tasks.withType(JavaCompile).configureEach {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
maven {
name = "codemc-repo"
url "https://repo.codemc.org/repository/nms/"
}
maven {
name = "minecraft-repo"
url = "https://libraries.minecraft.net/"
}
mavenCentral()
}
dependencies {
compileOnly("org.projectlombok:lombok:1.18.34")
annotationProcessor("org.projectlombok:lombok:1.18.34")
}
}
publishing {
publications {
publishToMavenLocal(MavenPublication) {
from components.java
}
}
}
dependencies {
implementation project(":plugin")
implementation project(":common")
implementation project(":nms:1_12_R1")
implementation project(":nms:1_13_R2")
implementation project(":nms:1_14_R1")
implementation project(":nms:1_15_R1")
implementation project(":nms:1_16_R3")
implementation project(":nms:1_17_R1")
implementation project(":nms:1_18_R2")
implementation project(":nms:1_19_R3")
implementation project(":nms:1_20_R1")
implementation project(":nms:1_20_R2")
implementation project(":nms:1_20_R3")
implementation project(":nms:1_20_R4")
implementation project(":nms:1_21_R1")
implementation project(":nms:1_21_R2")
implementation project(":nms:1_21_R3")
}
shadowJar {
archiveBaseName.set("LangHelper")
archiveClassifier.set("")
}
artifacts {
archives shadowJar
}