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