summaryrefslogtreecommitdiffhomepage
path: root/build.gradle
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-06-30 17:06:19 -0400
committerrealtradam <[email protected]>2024-06-30 17:06:19 -0400
commit5b110d2317a931eeaf12fa4d23ee95a0172dcf43 (patch)
treecd5ae76f04cf5e920551aa36693577367d996d95 /build.gradle
downloadspring-blog-5b110d2317a931eeaf12fa4d23ee95a0172dcf43.tar.gz
spring-blog-5b110d2317a931eeaf12fa4d23ee95a0172dcf43.zip
init
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle28
1 files changed, 28 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..cda6b0b
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,28 @@
+plugins {
+ id 'java'
+ id 'org.springframework.boot' version '3.3.1'
+ id 'io.spring.dependency-management' version '1.1.5'
+}
+
+group = 'com.example'
+version = '0.0.1-SNAPSHOT'
+
+java {
+ toolchain {
+ languageVersion = JavaLanguageVersion.of(17)
+ }
+}
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ implementation 'org.springframework.boot:spring-boot-starter-web'
+ testImplementation 'org.springframework.boot:spring-boot-starter-test'
+ testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
+}
+
+tasks.named('test') {
+ useJUnitPlatform()
+}