-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
49 lines (42 loc) · 1.19 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
plugins {
id("java")
alias(libs.plugins.quarkus)
id("io.fabric8.java-generator") version "7.0.1"
}
group = "io.okd.operators.controller"
version = "1.0.0-SNAPSHOT"
description = "Triggers builds of operators based on recipes provided"
repositories {
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
dependencies {
implementation(enforcedPlatform(libs.quarkus.bom))
implementation("io.quarkus:quarkus-arc")
implementation("io.quarkus:quarkus-kubernetes")
implementation("io.quarkus:quarkus-container-image-jib")
implementation("io.quarkus:quarkus-openshift-client")
implementation("io.quarkus:quarkus-scheduler")
implementation("io.quarkus:quarkus-jackson")
implementation("io.quarkus:quarkus-smallrye-health")
implementation("io.quarkiverse.jgit:quarkus-jgit:3.3.3")
// Lombok
val lombok = "org.projectlombok:lombok:1.18.36"
compileOnly(lombok)
annotationProcessor(lombok)
}
javaGen {
source = file("src/main/crds")
alwaysPreserveUnknown = true
config
}
sourceSets {
main {
java {
srcDir("build/generated/sources")
}
}
}