blob: 6a57a3fab97e1db50ca364929143e56ec1dc75f6 [file] [log] [blame]
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +01001plugins {
2 java
3 id("io.quarkus")
4}
5
6repositories {
7 mavenLocal()
8 mavenCentral()
9}
10
11val quarkusPlatformGroupId: String by project
12val quarkusPlatformArtifactId: String by project
13val quarkusPlatformVersion: String by project
14val hibernateTypesVersion: String by project
15
16dependencies {
17 implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}"))
Matthias Andreas Benkard0c009e82021-02-26 07:23:27 +010018 implementation("io.quarkus:quarkus-resteasy-jsonb")
19 implementation("io.quarkus:quarkus-resteasy")
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010020 implementation("io.quarkus:quarkus-hibernate-orm-panache")
21 implementation("io.quarkus:quarkus-arc")
22 implementation("io.quarkus:quarkus-jdbc-postgresql")
23 implementation("com.vladmihalcea:hibernate-types-52:${hibernateTypesVersion}")
24 testImplementation("io.quarkus:quarkus-junit5")
25 testImplementation("io.rest-assured:rest-assured")
26}
27
28group = "eu.mulk.demos"
29version = "1.0.0-SNAPSHOT"
30
31java {
32 sourceCompatibility = JavaVersion.VERSION_11
33 targetCompatibility = JavaVersion.VERSION_11
34}
35
36tasks.withType<JavaCompile> {
37 options.encoding = "UTF-8"
38 options.compilerArgs.add("-parameters")
39}