36 lines
724 B
Groovy
36 lines
724 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.quarkus'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
|
|
implementation 'io.quarkus:quarkus-smallrye-graphql'
|
|
implementation 'io.quarkus:quarkus-arc'
|
|
}
|
|
|
|
group 'org.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'
|
|
}
|