Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 1 | plugins { |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 2 | id 'java' |
| 3 | id 'io.quarkus' |
Matthias Andreas Benkard | f611d9e | 2020-01-13 05:04:52 +0100 | [diff] [blame] | 4 | id "com.diffplug.gradle.spotless" version "${spotlessPluginVersion}" |
| 5 | id "com.github.ben-manes.versions" version "${versionsPluginVersion}" |
| 6 | id "se.patrikerdes.use-latest-versions" version "${useLatestVersionsPluginVersion}" |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 7 | } |
| 8 | |
Matthias Andreas Benkard | 513deee | 2020-01-12 20:58:56 +0100 | [diff] [blame] | 9 | sourceCompatibility = 11 |
| 10 | targetCompatibility = 11 |
| 11 | |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 12 | repositories { |
| 13 | mavenLocal() |
| 14 | mavenCentral() |
| 15 | } |
| 16 | |
Matthias Andreas Benkard | f611d9e | 2020-01-13 05:04:52 +0100 | [diff] [blame] | 17 | tasks { |
| 18 | dependencyUpdates { |
| 19 | checkConstraints = true |
| 20 | gradleReleaseChannel = "current" |
| 21 | revision = "release" |
| 22 | } |
| 23 | } |
| 24 | |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 25 | dependencies { |
| 26 | implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") |
| 27 | |
| 28 | implementation 'io.quarkus:quarkus-agroal' |
| 29 | //implementation 'io.quarkus:quarkus-elytron-security' |
| 30 | //implementation 'io.quarkus:quarkus-elytron-security-jdbc' |
| 31 | //implementation 'io.quarkus:quarkus-elytron-security-oauth2' |
| 32 | implementation 'io.quarkus:quarkus-flyway' |
| 33 | implementation 'io.quarkus:quarkus-hibernate-orm-panache' |
| 34 | implementation 'io.quarkus:quarkus-hibernate-validator' |
| 35 | implementation 'io.quarkus:quarkus-jdbc-postgresql' |
| 36 | implementation 'io.quarkus:quarkus-jsonb' |
| 37 | implementation 'io.quarkus:quarkus-jsonp' |
| 38 | //implementation 'io.quarkus:quarkus-keycloak-authorization' |
| 39 | implementation 'io.quarkus:quarkus-kubernetes' |
| 40 | implementation 'io.quarkus:quarkus-mailer' |
| 41 | //implementation 'io.quarkus:quarkus-oidc' |
| 42 | //implementation 'io.quarkus:quarkus-quartz' |
| 43 | implementation 'io.quarkus:quarkus-qute' |
| 44 | implementation 'io.quarkus:quarkus-resteasy' |
| 45 | implementation 'io.quarkus:quarkus-resteasy-jsonb' |
| 46 | implementation 'io.quarkus:quarkus-resteasy-qute' |
| 47 | implementation 'io.quarkus:quarkus-scala' |
| 48 | implementation 'io.quarkus:quarkus-scheduler' |
| 49 | //implementation 'io.quarkus:quarkus-smallrye-fault-tolerance' |
| 50 | //implementation 'io.quarkus:quarkus-smallrye-health' |
| 51 | //implementation 'io.quarkus:quarkus-smallrye-metrics' |
| 52 | //implementation 'io.quarkus:quarkus-smallrye-openapi' |
| 53 | |
| 54 | //implementation 'jakarta.transaction:jakarta.transaction-api' |
| 55 | //implementation 'org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec' |
| 56 | //implementation 'jakarta.persistence:jakarta.persistence-api' |
| 57 | |
Matthias Andreas Benkard | f611d9e | 2020-01-13 05:04:52 +0100 | [diff] [blame] | 58 | implementation 'org.scala-lang:scala-library' |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 59 | |
Matthias Andreas Benkard | 5d71a9e | 2020-01-18 12:31:26 +0100 | [diff] [blame^] | 60 | implementation 'org.mapstruct:mapstruct' |
| 61 | compileOnly 'org.mapstruct:mapstruct-processor' |
| 62 | |
| 63 | compileOnly 'com.google.code.findbugs:jsr305' |
| 64 | |
Matthias Andreas Benkard | f611d9e | 2020-01-13 05:04:52 +0100 | [diff] [blame] | 65 | implementation 'com.vladmihalcea:hibernate-types-52' |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 66 | |
Matthias Andreas Benkard | 5d71a9e | 2020-01-18 12:31:26 +0100 | [diff] [blame^] | 67 | implementation "jakarta.security.jacc:jakarta.security.jacc-api" |
| 68 | implementation "net.java.dev.jna:jna" |
| 69 | |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 70 | testImplementation 'io.quarkus:quarkus-junit5' |
| 71 | testImplementation 'io.rest-assured:rest-assured' |
Matthias Andreas Benkard | f611d9e | 2020-01-13 05:04:52 +0100 | [diff] [blame] | 72 | |
| 73 | constraints { |
| 74 | implementation "org.scala-lang:scala-library:${scalaVersion}" |
| 75 | implementation "com.vladmihalcea:hibernate-types-52:${hibernateTypesVersion}" |
Matthias Andreas Benkard | 5d71a9e | 2020-01-18 12:31:26 +0100 | [diff] [blame^] | 76 | implementation "org.mapstruct:mapstruct:${mapstructVersion}" |
| 77 | compileOnly "org.mapstruct:mapstruct-processor:${mapstructVersion}" |
| 78 | compileOnly "com.google.code.findbugs:jsr305:${findbugsJsr305Version}" |
| 79 | implementation "jakarta.security.jacc:jakarta.security.jacc-api:${jakartaJaccVersion}" |
| 80 | implementation "net.java.dev.jna:jna:${jnaVersion}" |
Matthias Andreas Benkard | f611d9e | 2020-01-13 05:04:52 +0100 | [diff] [blame] | 81 | } |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 82 | } |
| 83 | |
| 84 | spotless { |
| 85 | scala { |
| 86 | scalafmt() |
| 87 | } |
Matthias Andreas Benkard | 4be112f | 2020-01-12 20:29:38 +0100 | [diff] [blame] | 88 | |
| 89 | java { |
| 90 | googleJavaFormat() |
| 91 | removeUnusedImports() |
| 92 | } |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 93 | } |
| 94 | |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 95 | group 'eu.mulk' |
| 96 | version '0.1.0-SNAPSHOT' |