This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed Success These URLs were fixed successfully. * http://docs.oracle.com/javase/7/docs/api/ migrated to: https://docs.oracle.com/javase/7/docs/api/ ([https](https://docs.oracle.com/javase/7/docs/api/) result 200). * http://docs.oracle.com/javase/8/docs/api/ migrated to: https://docs.oracle.com/javase/8/docs/api/ ([https](https://docs.oracle.com/javase/8/docs/api/) result 200). * http://docs.spring.io/spring/docs/current/javadoc-api/ migrated to: https://docs.spring.io/spring/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring/docs/current/javadoc-api/) result 200). * http://www.apache.org/licenses/LICENSE-2.0 migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200). * http://www.apache.org/licenses/LICENSE-2.0.txt migrated to: https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200). * http://projects.spring.io/spring-credhub migrated to: https://projects.spring.io/spring-credhub ([https](https://projects.spring.io/spring-credhub) result 301).
77 lines
2.1 KiB
Groovy
77 lines
2.1 KiB
Groovy
/*
|
|
* Copyright 2016-2017 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.
|
|
*/
|
|
|
|
description = 'Spring CredHub Integration Tests'
|
|
|
|
buildscript {
|
|
dependencies {
|
|
classpath 'io.spring.gradle:propdeps-plugin:0.0.10.RELEASE'
|
|
classpath 'io.spring.gradle:spring-io-plugin:0.0.8.RELEASE'
|
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://repo.spring.io/plugins-release" }
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'propdeps'
|
|
apply plugin: 'propdeps-maven'
|
|
apply plugin: 'propdeps-idea'
|
|
apply plugin: 'propdeps-eclipse'
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
dependencies {
|
|
compile project(":spring-credhub-starter")
|
|
compile("org.springframework.boot:spring-boot-starter")
|
|
|
|
compile("org.springframework.boot:spring-boot-starter-web")
|
|
|
|
compile("org.springframework.security:spring-security-config")
|
|
compile("org.springframework.security:spring-security-oauth2-client")
|
|
|
|
if (project.hasProperty("useOkHttp3")) {
|
|
compile("com.squareup.okhttp3:okhttp:3.6.0")
|
|
} else if (project.hasProperty("useNetty")) {
|
|
compile("io.netty:netty-all:4.1.30.Final")
|
|
} else {
|
|
compile("org.apache.httpcomponents:httpclient:4.5.3")
|
|
}
|
|
|
|
testCompile("org.springframework.boot:spring-boot-starter-test")
|
|
testCompile("org.assertj:assertj-core:${assertJVersion}")
|
|
}
|
|
|
|
test {
|
|
onlyIf {
|
|
project.hasProperty("integrationTests")
|
|
}
|
|
}
|
|
|
|
bootJar {
|
|
enabled = false
|
|
}
|
|
|
|
configurations.archives.artifacts.clear()
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
} |