Upgrade build plugin versions. (#1774)
This commit is contained in:
parent
d42dccb9bd
commit
31f1a73d59
12
build.gradle
12
build.gradle
|
@ -3,11 +3,11 @@ import nebula.plugin.release.git.opinion.Strategies
|
|||
plugins {
|
||||
id 'idea'
|
||||
|
||||
id "com.jfrog.artifactory" version "4.15.2" apply false
|
||||
id "com.jfrog.artifactory" version "4.18.1" apply false
|
||||
id 'com.jfrog.bintray' version '1.8.5' apply false
|
||||
id "nebula.release" version "15.1.0"
|
||||
id "nebula.release" version "15.3.0"
|
||||
|
||||
id 'org.gradle.test-retry' version '1.1.8' apply false
|
||||
id 'org.gradle.test-retry' version '1.2.0' apply false
|
||||
|
||||
id 'org.unbroken-dome.test-sets' version '3.0.1' apply false
|
||||
id 'com.github.ben-manes.versions' version '0.27.0'
|
||||
|
@ -16,10 +16,10 @@ plugins {
|
|||
|
||||
id "com.github.johnrengelman.shadow" version "6.1.0" apply false
|
||||
|
||||
id "com.diffplug.spotless" version "5.6.1"
|
||||
id "com.github.spotbugs" version "4.5.1" apply false
|
||||
id "com.diffplug.spotless" version "5.8.2"
|
||||
id "com.github.spotbugs" version "4.6.0" apply false
|
||||
|
||||
id "net.ltgt.errorprone" version "1.2.1" apply false
|
||||
id "net.ltgt.errorprone" version "1.3.0" apply false
|
||||
}
|
||||
|
||||
release {
|
||||
|
|
|
@ -1,15 +1,7 @@
|
|||
apply plugin: "codenarc"
|
||||
|
||||
dependencies {
|
||||
codenarc "org.codenarc:CodeNarc:1.5"
|
||||
|
||||
constraints {
|
||||
// Allows codenarc to run on JDK14+
|
||||
// https://github.com/gradle/gradle/issues/12646
|
||||
"codenarc"("org.codehaus.groovy:groovy:2.5.10")
|
||||
}
|
||||
}
|
||||
|
||||
codenarc {
|
||||
configFile rootProject.file('gradle/enforcement/codenarc.groovy')
|
||||
|
||||
toolVersion = '2.0.0'
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ apply plugin: 'com.diffplug.spotless'
|
|||
|
||||
spotless {
|
||||
java {
|
||||
googleJavaFormat()
|
||||
googleJavaFormat('1.9')
|
||||
licenseHeaderFile rootProject.file('gradle/enforcement/spotless.license.java'), '(package|import|public|// Includes work from:)'
|
||||
target 'src/**/*.java'
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.elasticsearch.transport.Netty3Plugin
|
|||
import spock.lang.Shared
|
||||
|
||||
class Elasticsearch5NodeClientTest extends AgentTestRunner {
|
||||
public static final long TIMEOUT = 10000; // 10 seconds
|
||||
public static final long TIMEOUT = 10000 // 10 seconds
|
||||
|
||||
@Shared
|
||||
Node testNode
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.elasticsearch.transport.client.PreBuiltTransportClient
|
|||
import spock.lang.Shared
|
||||
|
||||
class Elasticsearch5TransportClientTest extends AgentTestRunner {
|
||||
public static final long TIMEOUT = 10000; // 10 seconds
|
||||
public static final long TIMEOUT = 10000 // 10 seconds
|
||||
|
||||
@Shared
|
||||
TransportAddress tcpPublishAddress
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.elasticsearch.transport.Netty3Plugin
|
|||
import spock.lang.Shared
|
||||
|
||||
class Elasticsearch53NodeClientTest extends AgentTestRunner {
|
||||
public static final long TIMEOUT = 10000; // 10 seconds
|
||||
public static final long TIMEOUT = 10000 // 10 seconds
|
||||
|
||||
@Shared
|
||||
Node testNode
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.elasticsearch.transport.client.PreBuiltTransportClient
|
|||
import spock.lang.Shared
|
||||
|
||||
class Elasticsearch53TransportClientTest extends AgentTestRunner {
|
||||
public static final long TIMEOUT = 10000; // 10 seconds
|
||||
public static final long TIMEOUT = 10000 // 10 seconds
|
||||
|
||||
@Shared
|
||||
TransportAddress tcpPublishAddress
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilde
|
|||
import spock.lang.Shared
|
||||
|
||||
class Elasticsearch53SpringTemplateTest extends AgentTestRunner {
|
||||
public static final long TIMEOUT = 10000; // 10 seconds
|
||||
public static final long TIMEOUT = 10000 // 10 seconds
|
||||
|
||||
// Some ES actions are not caused by clients and seem to just happen from time to time.
|
||||
// We will just ignore these actions in traces.
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.elasticsearch.transport.Netty4Plugin
|
|||
import spock.lang.Shared
|
||||
|
||||
class Elasticsearch6NodeClientTest extends AgentTestRunner {
|
||||
public static final long TIMEOUT = 10000; // 10 seconds
|
||||
public static final long TIMEOUT = 10000 // 10 seconds
|
||||
|
||||
@Shared
|
||||
Node testNode
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.elasticsearch.transport.client.PreBuiltTransportClient
|
|||
import spock.lang.Shared
|
||||
|
||||
class Elasticsearch6TransportClientTest extends AgentTestRunner {
|
||||
public static final long TIMEOUT = 10000; // 10 seconds
|
||||
public static final long TIMEOUT = 10000 // 10 seconds
|
||||
|
||||
@Shared
|
||||
TransportAddress tcpPublishAddress
|
||||
|
|
|
@ -36,7 +36,7 @@ class SecurityConfig {
|
|||
.antMatchers("/basicsecured/**").authenticated()
|
||||
.and()
|
||||
.httpBasic()
|
||||
.and().authenticationProvider(applicationContext.getBean(SavingAuthenticationProvider));
|
||||
.and().authenticationProvider(applicationContext.getBean(SavingAuthenticationProvider))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id 'com.gradle.enterprise' version '3.0'
|
||||
id 'com.gradle.enterprise' version '3.5'
|
||||
id 'com.github.burrunan.s3-build-cache' version '1.1'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue