mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2025-12-22 22:41:59 +00:00
switch build system to gradle
This commit is contained in:
45
build.gradle.kts
Normal file
45
build.gradle.kts
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*/
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
id("io.freefair.lombok") version "9.0.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = uri("https://repo.maven.apache.org/maven2/")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(libs.org.springframework.boot.spring.boot.starter.websocket)
|
||||
api(libs.org.springframework.boot.spring.boot.starter.data.jpa)
|
||||
api(libs.org.springframework.boot.spring.boot.starter.actuator)
|
||||
runtimeOnly(libs.com.mysql.mysql.connector.j)
|
||||
testImplementation(libs.org.springframework.boot.spring.boot.starter.test)
|
||||
testImplementation(libs.org.springframework.security.spring.security.test)
|
||||
}
|
||||
|
||||
group = "de.pnreichmuth"
|
||||
version = "0.0.1-SNAPSHOT"
|
||||
description = "timekeep-backend"
|
||||
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
publishing {
|
||||
publications.create<MavenPublication>("maven") {
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile>() {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
tasks.withType<Javadoc>() {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
Reference in New Issue
Block a user