plugins { id 'scala' id 'java' id 'io.quarkus' id "com.diffplug.gradle.spotless" version "${spotlessPluginVersion}" id "com.github.ben-manes.versions" version "${versionsPluginVersion}" id "se.patrikerdes.use-latest-versions" version "${useLatestVersionsPluginVersion}" } sourceCompatibility = 11 targetCompatibility = 11 sourceSets { main { scala { srcDirs = ['src/main/scala', 'src/main/java'] } java { srcDirs = [] } } test { scala { srcDirs = ['src/test/scala', 'src/test/java'] } java { srcDirs = [] } } } repositories { mavenLocal() mavenCentral() } tasks { dependencyUpdates { checkConstraints = true gradleReleaseChannel = "current" revision = "release" } } dependencies { implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") implementation 'io.quarkus:quarkus-agroal' //implementation 'io.quarkus:quarkus-elytron-security' //implementation 'io.quarkus:quarkus-elytron-security-jdbc' //implementation 'io.quarkus:quarkus-elytron-security-oauth2' implementation 'io.quarkus:quarkus-flyway' implementation 'io.quarkus:quarkus-hibernate-orm-panache' implementation 'io.quarkus:quarkus-hibernate-validator' implementation 'io.quarkus:quarkus-jdbc-postgresql' implementation 'io.quarkus:quarkus-jsonb' implementation 'io.quarkus:quarkus-jsonp' //implementation 'io.quarkus:quarkus-keycloak-authorization' implementation 'io.quarkus:quarkus-kubernetes' implementation 'io.quarkus:quarkus-mailer' //implementation 'io.quarkus:quarkus-oidc' //implementation 'io.quarkus:quarkus-quartz' implementation 'io.quarkus:quarkus-qute' implementation 'io.quarkus:quarkus-resteasy' implementation 'io.quarkus:quarkus-resteasy-jsonb' implementation 'io.quarkus:quarkus-resteasy-qute' implementation 'io.quarkus:quarkus-scala' implementation 'io.quarkus:quarkus-scheduler' //implementation 'io.quarkus:quarkus-smallrye-fault-tolerance' //implementation 'io.quarkus:quarkus-smallrye-health' //implementation 'io.quarkus:quarkus-smallrye-metrics' //implementation 'io.quarkus:quarkus-smallrye-openapi' //implementation 'jakarta.transaction:jakarta.transaction-api' //implementation 'org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec' //implementation 'jakarta.persistence:jakarta.persistence-api' implementation 'org.scala-lang:scala-library' implementation 'com.vladmihalcea:hibernate-types-52' testImplementation 'io.quarkus:quarkus-junit5' testImplementation 'io.rest-assured:rest-assured' constraints { implementation "org.scala-lang:scala-library:${scalaVersion}" implementation "com.vladmihalcea:hibernate-types-52:${hibernateTypesVersion}" } } spotless { scala { scalafmt() } java { googleJavaFormat() removeUnusedImports() } } group 'eu.mulk' version '0.1.0-SNAPSHOT'