blob: 5a7d9c215a68c25c73c51cc561a14f2556d57a23 [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 Benkard5d71a9e2020-01-18 12:31:26 +010060 implementation 'org.mapstruct:mapstruct'
61 compileOnly 'org.mapstruct:mapstruct-processor'
62
63 compileOnly 'com.google.code.findbugs:jsr305'
64
Matthias Andreas Benkardf611d9e2020-01-13 05:04:52 +010065 implementation 'com.vladmihalcea:hibernate-types-52'
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010066
Matthias Andreas Benkard5d71a9e2020-01-18 12:31:26 +010067 implementation "jakarta.security.jacc:jakarta.security.jacc-api"
68 implementation "net.java.dev.jna:jna"
69
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010070 testImplementation 'io.quarkus:quarkus-junit5'
71 testImplementation 'io.rest-assured:rest-assured'
Matthias Andreas Benkardf611d9e2020-01-13 05:04:52 +010072
73 constraints {
74 implementation "org.scala-lang:scala-library:${scalaVersion}"
75 implementation "com.vladmihalcea:hibernate-types-52:${hibernateTypesVersion}"
Matthias Andreas Benkard5d71a9e2020-01-18 12:31:26 +010076 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 Benkardf611d9e2020-01-13 05:04:52 +010081 }
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010082}
83
84spotless {
85 scala {
86 scalafmt()
87 }
Matthias Andreas Benkard4be112f2020-01-12 20:29:38 +010088
89 java {
90 googleJavaFormat()
91 removeUnusedImports()
92 }
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010093}
94
Matthias Andreas Benkard4c5847b2020-01-12 15:42:02 +010095group 'eu.mulk'
96version '0.1.0-SNAPSHOT'