46 lines
No EOL
1.1 KiB
Groovy
46 lines
No EOL
1.1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.3.5'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
id 'org.graalvm.buildtools.native' version '0.10.6'
|
|
}
|
|
|
|
group = 'br.com.rayankonecny'
|
|
version = '1.0.0'
|
|
description = 'auth service project for Spring Boot'
|
|
|
|
apply from: 'gradle/plugins/dependencies.gradle'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.withType(org.springframework.boot.gradle.tasks.aot.ProcessAot).configureEach {
|
|
enabled = false
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.compilerArgs += "-parameters"
|
|
} |