-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
85 lines (71 loc) · 3.32 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
plugins {
kotlin("jvm") version "1.8.22"
kotlin("plugin.allopen") version "1.8.22"
id("io.quarkus")
}
repositories {
mavenCentral()
mavenLocal()
}
val quarkusPlatformGroupId: String by project
val quarkusPlatformArtifactId: String by project
val quarkusPlatformVersion: String by project
val testContainersVersion = "1.18.3"
dependencies {
implementation(enforcedPlatform("$quarkusPlatformGroupId:$quarkusPlatformArtifactId:$quarkusPlatformVersion"))
implementation("io.quarkus:quarkus-arc")
implementation("io.quarkus:quarkus-cache")
implementation("io.quarkus:quarkus-smallrye-context-propagation")
implementation("io.quarkus:quarkus-kotlin")
implementation("io.quarkus:quarkus-flyway")
implementation("io.quarkus:quarkus-hibernate-envers")
implementation("io.quarkus:quarkus-hibernate-orm-panache-kotlin")
implementation("io.quarkus:quarkus-hibernate-validator")
implementation("io.quarkus:quarkus-jacoco")
implementation("io.quarkus:quarkus-jdbc-postgresql")
implementation("io.quarkus:quarkus-micrometer-registry-prometheus")
implementation("io.quarkus:quarkus-qute")
implementation("io.quarkus:quarkus-resteasy-reactive-jackson")
implementation("io.quarkus:quarkus-rest-client-reactive-jackson")
implementation("io.quarkus:quarkus-smallrye-fault-tolerance")
implementation("io.quarkus:quarkus-smallrye-health")
implementation("io.quarkus:quarkus-smallrye-jwt")
implementation("io.quarkus:quarkus-smallrye-openapi")
implementation("io.quarkus:quarkus-resteasy-reactive")
implementation("io.quarkus:quarkus-scheduler")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("io.quarkus:quarkus-smallrye-reactive-messaging")
implementation("io.quarkus:quarkus-smallrye-reactive-messaging-kafka")
implementation("dev.krud:shapeshift:0.8.0")
implementation("io.quarkiverse.amazonservices:quarkus-amazon-s3")
implementation(enforcedPlatform("$quarkusPlatformGroupId:quarkus-amazon-services-bom:$quarkusPlatformVersion"))
implementation("software.amazon.awssdk:url-connection-client")
testImplementation("io.quarkiverse.mockk:quarkus-junit5-mockk:2.0.0")
testImplementation("io.quarkiverse.cucumber:quarkus-cucumber:1.0.0")
testImplementation("io.quarkus:quarkus-junit5")
testImplementation("io.quarkus:quarkus-test-security-jwt")
testImplementation("io.rest-assured:rest-assured")
testImplementation("org.testcontainers:postgresql:$testContainersVersion")
testImplementation("org.testcontainers:kafka:$testContainersVersion")
testImplementation("org.testcontainers:localstack:$testContainersVersion")
testImplementation("com.github.tomakehurst:wiremock-jre8:2.35.0")
}
group = "com.test"
version = "1.0.0"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType<Test> {
systemProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager")
}
allOpen {
annotation("jakarta.ws.rs.Path")
annotation("jakarta.enterprise.context.ApplicationScoped")
annotation("io.quarkus.test.junit.QuarkusTest")
annotation("jakarta.persistence.Entity")
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
kotlinOptions.javaParameters = true
}