45 lines
1.0 KiB
Groovy
45 lines
1.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.1'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group = 'research'
|
|
version = '1.0.0'
|
|
description = 'log-hunter'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Spring Boot
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
// SQLite
|
|
implementation 'org.xerial:sqlite-jdbc:3.45.1.0'
|
|
implementation 'org.hibernate.orm:hibernate-community-dialects:6.4.1.Final'
|
|
|
|
// SFTP
|
|
implementation 'com.jcraft:jsch:0.1.55'
|
|
|
|
// Utility
|
|
implementation 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
// Test
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|