blob: 6ddb7521bd78553abbf6b06d1f794f6941230e78 [file] [log] [blame]
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +01001plugins {
2 id 'scala'
3 id 'java'
4 id 'io.quarkus'
5 id "com.diffplug.gradle.spotless" version "3.27.0"
6}
7
Matthias Andreas Benkard9e937312020-01-12 20:53:11 +01008sourceSets {
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 Benkard4c5847b2020-01-12 15:42:02 +010027repositories {
28 mavenLocal()
29 mavenCentral()
30}
31
32dependencies {
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
73spotless {
74 scala {
75 scalafmt()
76 }
Matthias Andreas Benkard4be112f2020-01-12 20:29:38 +010077
78 java {
79 googleJavaFormat()
80 removeUnusedImports()
81 }
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010082}
83
Matthias Andreas Benkard7a381e92020-01-12 16:46:54 +010084sourceCompatibility = 13
85targetCompatibility = 13
86
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010087group 'eu.mulk'
88version '0.1.0-SNAPSHOT'