generated from Lenni0451/GradleTemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (35 loc) · 855 Bytes
/
build.gradle
File metadata and controls
41 lines (35 loc) · 855 Bytes
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
plugins {
id "java-library"
id "base.java"
id "base.checkstyle"
id "configuration.include"
id "idea.exclude_run_dir"
id "viaproxy.run-with-viaproxy-task"
id "extra.fill_build_constants"
alias libs.plugins.classTokenReplacer
}
repositories {
maven {
name = "viaversion"
url = "https://repo.viaversion.com"
}
}
dependencies {
compileOnly libs.viaproxy
compileOnly libs.findbugs
compileOnly libs.jetbrainsAnnotations
compileOnly libs.lombok
annotationProcessor libs.lombok
}
processResources {
var projectMavenVersion = project.maven_version
//Config file: "version: ${version}"
inputs.properties(
"version": projectMavenVersion
)
filesMatching("viaproxy.yml") {
expand(
"version": projectMavenVersion
)
}
}