blob: 592bdff42b649268d60c1b76eaf2259e8b0064b0 [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 {
Matthias Andreas Benkard37efaec2021-02-27 10:52:17 +010032 sourceCompatibility = JavaVersion.VERSION_15
33 targetCompatibility = JavaVersion.VERSION_15
Matthias Andreas Benkard4982faa2021-02-24 06:45:39 +010034}
35
36tasks.withType<JavaCompile> {
37 options.encoding = "UTF-8"
38 options.compilerArgs.add("-parameters")
39}