mm-auth-service/build.gradle

101 lines
2.8 KiB
Groovy

buildscript {
ext {
joobyVersion = "3.6.1"
}
}
plugins {
id "application"
id "io.jooby.run" version "${joobyVersion}"
id "io.spring.dependency-management" version "1.1.0"
id "com.google.osdetector" version "1.7.3"
id "com.github.johnrengelman.shadow" version "8.1.1"
id "io.freefair.lombok" version "8.6"
}
group "id.go.polri"
version "1.0.0"
mainClassName = "id.go.polri.mm.app.App"
sourceCompatibility = 17
repositories {
mavenLocal()
mavenCentral()
}
dependencyManagement {
imports {
mavenBom "io.jooby:jooby-bom:$joobyVersion"
}
}
dependencies {
annotationProcessor "io.jooby:jooby-apt:$joobyVersion"
implementation "io.jooby:jooby-undertow"
implementation "io.jooby:jooby-logback"
implementation "io.jooby:jooby-hikari"
implementation "io.jooby:jooby-flyway"
implementation "io.jooby:jooby-jdbi"
implementation "io.jooby:jooby-jackson"
implementation "io.jooby:jooby-guice"
implementation "io.jooby:jooby-metrics"
implementation "io.jooby:jooby-pac4j"
implementation "io.jooby:jooby-quartz"
implementation 'org.quartz-scheduler:quartz:2.3.2'
implementation 'com.auth0:java-jwt:4.4.0'
implementation 'org.postgresql:postgresql:42.7.5'
implementation "at.favre.lib:bcrypt:0.10.2"
implementation 'org.pac4j:pac4j-jwt:6.1.0'
implementation "org.jdbi:jdbi3-core:3.45.2"
implementation "org.jdbi:jdbi3-sqlobject:3.45.2"
implementation 'antlr:stringtemplate:2.3b6'
implementation 'org.asynchttpclient:async-http-client:3.0.1'
implementation 'jakarta.validation:jakarta.validation-api:3.0.2'
implementation 'org.hibernate.validator:hibernate-validator:8.0.1.Final'
implementation 'at.favre.lib:bcrypt:0.10.2'
implementation 'com.sun.mail:jakarta.mail:2.0.1'
testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.2"
testImplementation "org.junit.jupiter:junit-jupiter-engine:5.10.2"
testImplementation "io.jooby:jooby-test"
testImplementation "com.squareup.okhttp3:okhttp:4.12.0"
implementation 'software.amazon.awssdk:s3:2.31.20'
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
implementation 'com.google.guava:guava:32.1.2-jre'
}
test {
useJUnitPlatform()
}
/** Java debug information: */
tasks.withType(JavaCompile).configureEach {
options.compilerArgs += [
'-parameters',
'-Ajooby.incremental=true',
'-Ajooby.services=true',
'-Ajooby.debug=false'
]
options.debug = true
}
shadowJar {
mergeServiceFiles()
}
joobyRun {
mainClass = "id.go.polri.mm.app.App"
restartExtensions = ["conf", "properties", "class"]
compileExtensions = ["java"]
port = 8080
}