44 lines
1.1 KiB
Groovy
44 lines
1.1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.quarkus'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
|
|
implementation 'io.quarkus:quarkus-hibernate-orm'
|
|
implementation 'io.quarkus:quarkus-rest'
|
|
implementation 'io.quarkus:quarkus-rest-jackson'
|
|
implementation 'io.quarkus:quarkus-hibernate-orm-panache'
|
|
// implementation 'io.quarkus:quarkus-jdbc-mysql'
|
|
implementation 'io.quarkus:quarkus-arc'
|
|
implementation 'io.quarkus:quarkus-smallrye-openapi'
|
|
implementation 'io.quarkus:quarkus-jdbc-postgresql'
|
|
testImplementation 'io.quarkus:quarkus-junit5'
|
|
testImplementation 'io.rest-assured:rest-assured'
|
|
}
|
|
|
|
group 'com.example'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
test {
|
|
systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
|
|
}
|
|
compileJava {
|
|
options.encoding = 'UTF-8'
|
|
options.compilerArgs << '-parameters'
|
|
}
|
|
|
|
compileTestJava {
|
|
options.encoding = 'UTF-8'
|
|
}
|