github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/integration/testdata/TestGradleIntegration/java-project/build.gradle (about) 1 plugins { 2 id 'org.springframework.boot' version '2.6.5-SNAPSHOT' 3 id 'io.spring.dependency-management' version '1.0.11.RELEASE' 4 id 'java' 5 } 6 7 group = 'com.example' 8 version = '0.0.1-SNAPSHOT' 9 sourceCompatibility = '11' 10 11 repositories { 12 mavenCentral() 13 maven { url 'https://repo.spring.io/milestone' } 14 maven { url 'https://repo.spring.io/snapshot' } 15 } 16 17 dependencies { 18 implementation 'org.springframework.boot:spring-boot-starter-web' 19 implementation 'org.springframework.boot:spring-boot-starter-webflux' 20 testImplementation 'org.springframework.boot:spring-boot-starter-test' 21 testImplementation 'io.projectreactor:reactor-test' 22 } 23 24 tasks.named('test') { 25 useJUnitPlatform() 26 }