-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
70 lines (55 loc) · 1.43 KB
/
build.gradle.kts
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 {
`java-library`
`maven-publish`
alias(libs.plugins.spotless)
alias(libs.plugins.licenser)
id("codebook")
}
dependencies {
api(libs.checker)
implementation(projects.codebookLvt)
api(projects.codebookReports)
implementation(libs.guice)
implementation(libs.inject)
implementation(libs.guava)
implementation(libs.gson)
implementation(libs.bytes)
implementation(libs.bundles.asm)
implementation(libs.unpick.format)
implementation(libs.unpick.cli)
implementation(platform(libs.hypo.platform))
implementation(libs.bundles.hypo.full)
implementation(libs.lorenz)
implementation(libs.feather.core)
implementation(libs.feather.gson)
annotationProcessor(libs.recordBuilder.processor)
compileOnly(libs.recordBuilder.core)
testImplementation(libs.junit.api)
testImplementation(libs.junit.params)
testRuntimeOnly(libs.junit.engine)
testImplementation(libs.mockito.core)
testImplementation(libs.mockito.junit)
}
tasks.jar {
manifest {
attributes("Automatic-Module-Name" to "io.papermc.codebook")
}
}
publishing {
publications {
codebook {
pom {
name.set("codebook")
description.set("Remapper tool for PaperMC")
}
}
}
}
tasks.test {
useJUnitPlatform()
}
tasks.register("printVersion") {
doLast {
println(project.version)
}
}