jcenter has dependencies for gretty and repo.spring.io now requires authentication to download new dependencies
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
/*
 | 
						|
 * Copyright 2020 the original author or authors.
 | 
						|
 *
 | 
						|
 * Licensed under the Apache License, Version 2.0 (the "License");
 | 
						|
 * you may not use this file except in compliance with the License.
 | 
						|
 * You may obtain a copy of the License at
 | 
						|
 *
 | 
						|
 *      https://www.apache.org/licenses/LICENSE-2.0
 | 
						|
 *
 | 
						|
 * Unless required by applicable law or agreed to in writing, software
 | 
						|
 * distributed under the License is distributed on an "AS IS" BASIS,
 | 
						|
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
						|
 * See the License for the specific language governing permissions and
 | 
						|
 * limitations under the License.
 | 
						|
 */
 | 
						|
 | 
						|
plugins {
 | 
						|
	id 'org.springframework.boot' version '2.4.0'
 | 
						|
	id 'io.spring.dependency-management' version '1.0.10.RELEASE'
 | 
						|
	id "nebula.integtest" version "7.0.9"
 | 
						|
	id 'java'
 | 
						|
}
 | 
						|
 | 
						|
repositories {
 | 
						|
	jcenter()
 | 
						|
	maven { url "https://repo.spring.io/snapshot" }
 | 
						|
}
 | 
						|
 | 
						|
dependencies {
 | 
						|
	implementation 'com.squareup.okhttp3:mockwebserver'
 | 
						|
	implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
 | 
						|
	implementation 'org.springframework.boot:spring-boot-starter-web'
 | 
						|
 | 
						|
	testImplementation 'org.springframework.boot:spring-boot-starter-test'
 | 
						|
	testImplementation 'org.springframework.security:spring-security-test'
 | 
						|
}
 | 
						|
 | 
						|
tasks.withType(Test).configureEach {
 | 
						|
	useJUnitPlatform()
 | 
						|
} |