68 lines
1.7 KiB
Groovy
68 lines
1.7 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.3.5'
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
}
|
|
|
|
group = 'id.co.anaheim'
|
|
//version = '0.0.5-SNAPSHOT'
|
|
version = '0.0.13-Prod'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('springCloudVersion', "2023.0.3")
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-gateway-mvc'
|
|
|
|
implementation 'org.flywaydb:flyway-core'
|
|
implementation 'org.flywaydb:flyway-database-oracle'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
|
|
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
|
|
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
|
|
implementation "at.favre.lib:bcrypt:0.10.2"
|
|
implementation 'io.azam.ulidj:ulidj:1.0.4'
|
|
implementation 'com.bucket4j:bucket4j-core:8.3.0'
|
|
|
|
implementation 'org.asynchttpclient:async-http-client:3.0.1'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
runtimeOnly 'com.oracle.database.jdbc:ojdbc11'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|