-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
88 lines (70 loc) · 2.25 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
import org.springframework.boot.gradle.plugin.SpringBootPlugin
plugins {
`version-catalog`
`java-library`
id("org.springframework.boot") version "3.0.2" apply false
id("io.spring.dependency-management") version "1.1.0"
id("io.freefair.lombok") version "6.6.2"
id("org.javamodularity.moduleplugin") version "1.8.12"
}
val pluginsDir by extra { file("$buildDir/plugins") }
repositories {
mavenCentral()
maven(url = "https://repo.spring.io/milestone")
maven(url = "https://repo.spring.io/snapshot")
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.named("build") {
dependsOn(":bloom-plugins:assemblePlugins")
dependsOn(":bloom-fx:bootJar")
}
subprojects {
apply(plugin = "java")
apply(plugin = "io.spring.dependency-management")
apply(plugin = "io.freefair.lombok")
group = "com.f1uctus.bloom"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
maven(url = "https://maven.pkg.github.com/f1uctus/fxform2")
maven(url = "https://alphacephei.com/maven")
maven(url = "https://repo.spring.io/milestone")
maven(url = "https://repo.spring.io/snapshot")
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
}
dependencyManagement {
imports {
mavenBom(SpringBootPlugin.BOM_COORDINATES)
}
}
val libs = rootProject.libs
dependencies {
implementation(libs.guava)
implementation(libs.cyclops)
implementation(libs.pf4j)
implementation(libs.jna)
implementation(libs.vosk)
testImplementation(libs.jupiter.api)
testImplementation(libs.jupiter.params)
testRuntimeOnly(libs.jupiter.engine)
annotationProcessor(libs.lombok)
}
configurations.all {
exclude(group = "com.google.code.findbugs")
}
tasks {
withType<JavaCompile> {
options.encoding = "UTF-8"
}
test {
useJUnitPlatform()
}
}
}