java-backend/auth-service-api/build.gradle

46 lines
1.1 KiB
Groovy
Raw Normal View History

plugins {
id 'java'
2025-12-16 20:45:24 +00:00
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'
2025-12-18 13:38:52 +00:00
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()
}
2025-12-17 00:51:56 +00:00
tasks.withType(org.springframework.boot.gradle.tasks.aot.ProcessAot).configureEach {
enabled = false
2025-12-18 01:56:26 +00:00
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs += "-parameters"
2025-12-17 00:51:56 +00:00
}