| plugins { |
| java |
| id("io.quarkus") |
| } |
| |
| repositories { |
| mavenLocal() |
| mavenCentral() |
| } |
| |
| val quarkusPlatformGroupId: String by project |
| val quarkusPlatformArtifactId: String by project |
| val quarkusPlatformVersion: String by project |
| val hibernateTypesVersion: String by project |
| |
| dependencies { |
| implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")) |
| implementation("io.quarkus:quarkus-resteasy-reactive-jsonb") |
| implementation("io.quarkus:quarkus-resteasy-reactive") |
| implementation("io.quarkus:quarkus-hibernate-orm-panache") |
| implementation("io.quarkus:quarkus-arc") |
| implementation("io.quarkus:quarkus-jdbc-postgresql") |
| implementation("com.vladmihalcea:hibernate-types-52:${hibernateTypesVersion}") |
| testImplementation("io.quarkus:quarkus-junit5") |
| testImplementation("io.rest-assured:rest-assured") |
| } |
| |
| group = "eu.mulk.demos" |
| version = "1.0.0-SNAPSHOT" |
| |
| java { |
| sourceCompatibility = JavaVersion.VERSION_11 |
| targetCompatibility = JavaVersion.VERSION_11 |
| } |
| |
| tasks.withType<JavaCompile> { |
| options.encoding = "UTF-8" |
| options.compilerArgs.add("-parameters") |
| } |