blob: 5cc19c930d5da843d51071a54b771581b7f785a3 [file] [log] [blame]
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +01001plugins {
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +01002 id 'java'
3 id 'io.quarkus'
Matthias Andreas Benkardf611d9e2020-01-13 05:04:52 +01004 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 Benkard4c5847b2020-01-12 15:42:02 +01007}
8
Matthias Andreas Benkard513deee2020-01-12 20:58:56 +01009sourceCompatibility = 11
10targetCompatibility = 11
11
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010012repositories {
13 mavenLocal()
14 mavenCentral()
15}
16
Matthias Andreas Benkardf611d9e2020-01-13 05:04:52 +010017tasks {
18 dependencyUpdates {
19 checkConstraints = true
20 gradleReleaseChannel = "current"
21 revision = "release"
22 }
23}
24
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010025dependencies {
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 Benkardf611d9e2020-01-13 05:04:52 +010058 implementation 'org.scala-lang:scala-library'
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010059
Matthias Andreas Benkardf611d9e2020-01-13 05:04:52 +010060 implementation 'com.vladmihalcea:hibernate-types-52'
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010061
62 testImplementation 'io.quarkus:quarkus-junit5'
63 testImplementation 'io.rest-assured:rest-assured'
Matthias Andreas Benkardf611d9e2020-01-13 05:04:52 +010064
65 constraints {
66 implementation "org.scala-lang:scala-library:${scalaVersion}"
67 implementation "com.vladmihalcea:hibernate-types-52:${hibernateTypesVersion}"
68 }
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010069}
70
71spotless {
72 scala {
73 scalafmt()
74 }
Matthias Andreas Benkard4be112f2020-01-12 20:29:38 +010075
76 java {
77 googleJavaFormat()
78 removeUnusedImports()
79 }
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010080}
81
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010082group 'eu.mulk'
83version '0.1.0-SNAPSHOT'