Browse Source

Use TOML-Specified Dependencies in Boot ACL Sample

Josh Cummings 1 month ago
parent
commit
004ce37653
1 changed files with 3 additions and 3 deletions
  1. 3 3
      servlet/spring-boot/java/acl/build.gradle

+ 3 - 3
servlet/spring-boot/java/acl/build.gradle

@@ -1,7 +1,7 @@
 plugins {
 	id 'java'
-	id 'org.springframework.boot' version '3.4.4'
-	id 'io.spring.dependency-management' version '1.1.7'
+    alias(libs.plugins.org.springframework.boot)
+    alias(libs.plugins.io.spring.dependency.management)
 }
 
 group = 'example'
@@ -27,7 +27,7 @@ dependencies {
 	implementation 'org.hsqldb:hsqldb'
 
 	testImplementation 'org.springframework.boot:spring-boot-starter-test'
-	testImplementation 'org.springframework.boot:spring-boot-security-test'
+	testImplementation 'org.springframework.boot:spring-boot-starter-security-test'
 	testImplementation 'org.springframework.security:spring-security-test'
 	testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
 }