-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
44 lines (35 loc) · 1.01 KB
/
build.gradle.kts
File metadata and controls
44 lines (35 loc) · 1.01 KB
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
plugins {
id("java")
id("com.github.johnrengelman.shadow") version "7.0.0"
//id("checkstyle")
}
repositories {
mavenCentral()
}
allprojects {
group = "com.github.dominik48n.party"
version = "1.1.0-SNAPSHOT"
}
subprojects {
apply(plugin = "java")
apply(plugin = "com.github.johnrengelman.shadow")
//apply(plugin = "checkstyle")
repositories {
mavenCentral()
}
dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
}
tasks.named<Jar>("shadowJar") {
archiveBaseName.set("${rootProject.name}-${project.name}")
archiveClassifier.set("")
}
/* TODO: Please install again in the future.
configure<CheckstyleExtension> {
toolVersion = "8.45"
configFile = rootProject.file("config/checkstyle/google_checks.xml")
isIgnoreFailures = false
}
val checkTask = tasks.getByName("check")
checkTask.dependsOn("checkstyleMain", "checkstyleTest")*/
}