54 lines
2.2 KiB
Groovy
54 lines
2.2 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '4.1.1'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
id 'org.graalvm.buildtools.native' version '1.1.8'
|
|
}
|
|
|
|
group = 'top.ddupan.iam'
|
|
version = '0.0.1-SNAPSHOT'
|
|
description = 'Independent IAM login and authentication service for Hydra'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-ldap'
|
|
implementation 'org.springframework.boot:spring-boot-starter-opentelemetry'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
|
|
implementation 'org.springframework.security:spring-security-webauthn'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-actuator-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-data-ldap-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-ldap'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-opentelemetry-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-security-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-validation-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
|
|
testImplementation 'com.unboundid:unboundid-ldapsdk'
|
|
testImplementation 'org.testcontainers:testcontainers-grafana'
|
|
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
|
|
testCompileOnly 'org.projectlombok:lombok'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
testAnnotationProcessor 'org.projectlombok:lombok'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|