Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 1 | plugins { |
| 2 | java |
| 3 | id("io.quarkus") |
| 4 | } |
| 5 | |
| 6 | repositories { |
| 7 | mavenLocal() |
| 8 | mavenCentral() |
| 9 | } |
| 10 | |
| 11 | val quarkusPlatformGroupId: String by project |
| 12 | val quarkusPlatformArtifactId: String by project |
| 13 | val quarkusPlatformVersion: String by project |
| 14 | val hibernateTypesVersion: String by project |
| 15 | |
| 16 | dependencies { |
| 17 | implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")) |
Matthias Andreas Benkard | 0c009e8 | 2021-02-26 07:23:27 +0100 | [diff] [blame] | 18 | implementation("io.quarkus:quarkus-resteasy-jsonb") |
| 19 | implementation("io.quarkus:quarkus-resteasy") |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 20 | 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 | |
| 28 | group = "eu.mulk.demos" |
| 29 | version = "1.0.0-SNAPSHOT" |
| 30 | |
| 31 | java { |
Matthias Andreas Benkard | 37efaec | 2021-02-27 10:52:17 +0100 | [diff] [blame] | 32 | sourceCompatibility = JavaVersion.VERSION_15 |
| 33 | targetCompatibility = JavaVersion.VERSION_15 |
Matthias Andreas Benkard | 4982faa | 2021-02-24 06:45:39 +0100 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | tasks.withType<JavaCompile> { |
| 37 | options.encoding = "UTF-8" |
| 38 | options.compilerArgs.add("-parameters") |
| 39 | } |