Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 1 | plugins { |
| 2 | id 'scala' |
| 3 | id 'java' |
| 4 | id 'io.quarkus' |
| 5 | id "com.diffplug.gradle.spotless" version "3.27.0" |
| 6 | } |
| 7 | |
Matthias Andreas Benkard | 9e93731 | 2020-01-12 20:53:11 +0100 | [diff] [blame^] | 8 | sourceSets { |
| 9 | main { |
| 10 | scala { |
| 11 | srcDirs = ['src/main/scala', 'src/main/java'] |
| 12 | } |
| 13 | java { |
| 14 | srcDirs = [] |
| 15 | } |
| 16 | } |
| 17 | test { |
| 18 | scala { |
| 19 | srcDirs = ['src/test/scala', 'src/test/java'] |
| 20 | } |
| 21 | java { |
| 22 | srcDirs = [] |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 27 | repositories { |
| 28 | mavenLocal() |
| 29 | mavenCentral() |
| 30 | } |
| 31 | |
| 32 | dependencies { |
| 33 | implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") |
| 34 | |
| 35 | implementation 'io.quarkus:quarkus-agroal' |
| 36 | //implementation 'io.quarkus:quarkus-elytron-security' |
| 37 | //implementation 'io.quarkus:quarkus-elytron-security-jdbc' |
| 38 | //implementation 'io.quarkus:quarkus-elytron-security-oauth2' |
| 39 | implementation 'io.quarkus:quarkus-flyway' |
| 40 | implementation 'io.quarkus:quarkus-hibernate-orm-panache' |
| 41 | implementation 'io.quarkus:quarkus-hibernate-validator' |
| 42 | implementation 'io.quarkus:quarkus-jdbc-postgresql' |
| 43 | implementation 'io.quarkus:quarkus-jsonb' |
| 44 | implementation 'io.quarkus:quarkus-jsonp' |
| 45 | //implementation 'io.quarkus:quarkus-keycloak-authorization' |
| 46 | implementation 'io.quarkus:quarkus-kubernetes' |
| 47 | implementation 'io.quarkus:quarkus-mailer' |
| 48 | //implementation 'io.quarkus:quarkus-oidc' |
| 49 | //implementation 'io.quarkus:quarkus-quartz' |
| 50 | implementation 'io.quarkus:quarkus-qute' |
| 51 | implementation 'io.quarkus:quarkus-resteasy' |
| 52 | implementation 'io.quarkus:quarkus-resteasy-jsonb' |
| 53 | implementation 'io.quarkus:quarkus-resteasy-qute' |
| 54 | implementation 'io.quarkus:quarkus-scala' |
| 55 | implementation 'io.quarkus:quarkus-scheduler' |
| 56 | //implementation 'io.quarkus:quarkus-smallrye-fault-tolerance' |
| 57 | //implementation 'io.quarkus:quarkus-smallrye-health' |
| 58 | //implementation 'io.quarkus:quarkus-smallrye-metrics' |
| 59 | //implementation 'io.quarkus:quarkus-smallrye-openapi' |
| 60 | |
| 61 | //implementation 'jakarta.transaction:jakarta.transaction-api' |
| 62 | //implementation 'org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec' |
| 63 | //implementation 'jakarta.persistence:jakarta.persistence-api' |
| 64 | |
| 65 | implementation 'org.scala-lang:scala-library:2.13.1' |
| 66 | |
| 67 | implementation 'com.vladmihalcea:hibernate-types-52:2.9.0' |
| 68 | |
| 69 | testImplementation 'io.quarkus:quarkus-junit5' |
| 70 | testImplementation 'io.rest-assured:rest-assured' |
| 71 | } |
| 72 | |
| 73 | spotless { |
| 74 | scala { |
| 75 | scalafmt() |
| 76 | } |
Matthias Andreas Benkard | 4be112f | 2020-01-12 20:29:38 +0100 | [diff] [blame] | 77 | |
| 78 | java { |
| 79 | googleJavaFormat() |
| 80 | removeUnusedImports() |
| 81 | } |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 82 | } |
| 83 | |
Matthias Andreas Benkard | 7a381e9 | 2020-01-12 16:46:54 +0100 | [diff] [blame] | 84 | sourceCompatibility = 13 |
| 85 | targetCompatibility = 13 |
| 86 | |
Matthias Andreas Benkard | 4c5847b | 2020-01-12 15:42:02 +0100 | [diff] [blame] | 87 | group 'eu.mulk' |
| 88 | version '0.1.0-SNAPSHOT' |