
* 🎨 Add spotless formatting * 🚧 Add formatting check * 🚧 Fix workflow label, Add build workflow * 🛠️ Fix typos * 🏃 Make binaries ~run~executable * 🔧 Fix step name
56 lines
1.4 KiB
Kotlin
56 lines
1.4 KiB
Kotlin
plugins {
|
|
java
|
|
id("org.springframework.boot") version "3.3.5"
|
|
id("io.spring.dependency-management") version "1.1.6"
|
|
id("com.diffplug.spotless") version "6.25.0"
|
|
}
|
|
|
|
group = "io.github.markl4yg.hca"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
apply(
|
|
from = file("./gradle/spotless.gradle")
|
|
)
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-autoconfigure")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-jdbc")
|
|
implementation("org.xerial:sqlite-jdbc")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.hibernate.orm:hibernate-community-dialects")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
|
|
implementation("org.flywaydb:flyway-core")
|
|
|
|
compileOnly("org.projectlombok:lombok")
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
testImplementation("org.assertj:assertj-core")
|
|
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|