summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2024-12-15 00:00:13 +0800
committerMole Shang <[email protected]>2024-12-15 00:02:19 +0800
commitd3f77ea51dd72b055307ac259c3caf8091307aa6 (patch)
treeba5e10e04d1c6e4ce281f7cf6e43abad407eac65 /build.gradle
downloadse-intro-d3f77ea51dd72b055307ac259c3caf8091307aa6.tar.gz
se-intro-d3f77ea51dd72b055307ac259c3caf8091307aa6.tar.bz2
se-intro-d3f77ea51dd72b055307ac259c3caf8091307aa6.zip
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle33
1 files changed, 33 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..73109dd
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,33 @@
+plugins {
+ id 'java'
+ id 'org.springframework.boot' version '3.2.0'
+ id 'io.spring.dependency-management' version '1.1.4'
+}
+
+group = 'seu.se.Project'
+version = '0.0.1-SNAPSHOT'
+
+java {
+ toolchain {
+ languageVersion = JavaLanguageVersion.of(21)
+ }
+}
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ implementation 'org.springframework.boot:spring-boot-starter-data-neo4j'
+ implementation 'org.springframework.boot:spring-boot-starter-web'
+ implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.0.3'
+ implementation "org.springframework.session:spring-session-core"
+ implementation "org.springframework.data:spring-data-jpa"
+ testImplementation 'org.springframework.boot:spring-boot-starter-test'
+ testImplementation 'io.projectreactor:reactor-test'
+ testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
+}
+
+//tasks.named('test') {
+// useJUnitPlatform()
+//}