Files
api2/build.gradle
T

73 lines
1.8 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.5.10'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.alist'
version = '0.0.1-SNAPSHOT'
description = 'alist api project'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// Web 기본
implementation 'org.springframework.boot:spring-boot-starter-web'
// security
implementation 'org.springframework.boot:spring-boot-starter-security'
// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
// Lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// jdbc
implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16'
// MariaDB
implementation 'org.mariadb.jdbc:mariadb-java-client'
implementation 'com.microsoft.sqlserver:mssql-jdbc:12.8.1.jre11'
// swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.0'
// MyBatis (Boot 3 전용)
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'
// validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// health
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// Redis (SSO 세션 공유)
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
}
tasks.named('test') {
useJUnitPlatform()
}
bootJar {
archiveFileName = "api.jar"
}
jar {
enabled = false
}