Upgrade build plugin versions. (#1774)

This commit is contained in:
Anuraag Agrawal 2020-11-26 18:16:14 +09:00 committed by GitHub
parent d42dccb9bd
commit 31f1a73d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 18 additions and 26 deletions

View File

@ -3,11 +3,11 @@ import nebula.plugin.release.git.opinion.Strategies
plugins { plugins {
id 'idea' 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 '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 'org.unbroken-dome.test-sets' version '3.0.1' apply false
id 'com.github.ben-manes.versions' version '0.27.0' 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.github.johnrengelman.shadow" version "6.1.0" apply false
id "com.diffplug.spotless" version "5.6.1" id "com.diffplug.spotless" version "5.8.2"
id "com.github.spotbugs" version "4.5.1" apply false 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 { release {

View File

@ -1,15 +1,7 @@
apply plugin: "codenarc" 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 { codenarc {
configFile rootProject.file('gradle/enforcement/codenarc.groovy') configFile rootProject.file('gradle/enforcement/codenarc.groovy')
toolVersion = '2.0.0'
} }

View File

@ -2,7 +2,7 @@ apply plugin: 'com.diffplug.spotless'
spotless { spotless {
java { java {
googleJavaFormat() googleJavaFormat('1.9')
licenseHeaderFile rootProject.file('gradle/enforcement/spotless.license.java'), '(package|import|public|// Includes work from:)' licenseHeaderFile rootProject.file('gradle/enforcement/spotless.license.java'), '(package|import|public|// Includes work from:)'
target 'src/**/*.java' target 'src/**/*.java'
} }

View File

@ -20,7 +20,7 @@ import org.elasticsearch.transport.Netty3Plugin
import spock.lang.Shared import spock.lang.Shared
class Elasticsearch5NodeClientTest extends AgentTestRunner { class Elasticsearch5NodeClientTest extends AgentTestRunner {
public static final long TIMEOUT = 10000; // 10 seconds public static final long TIMEOUT = 10000 // 10 seconds
@Shared @Shared
Node testNode Node testNode

View File

@ -25,7 +25,7 @@ import org.elasticsearch.transport.client.PreBuiltTransportClient
import spock.lang.Shared import spock.lang.Shared
class Elasticsearch5TransportClientTest extends AgentTestRunner { class Elasticsearch5TransportClientTest extends AgentTestRunner {
public static final long TIMEOUT = 10000; // 10 seconds public static final long TIMEOUT = 10000 // 10 seconds
@Shared @Shared
TransportAddress tcpPublishAddress TransportAddress tcpPublishAddress

View File

@ -20,7 +20,7 @@ import org.elasticsearch.transport.Netty3Plugin
import spock.lang.Shared import spock.lang.Shared
class Elasticsearch53NodeClientTest extends AgentTestRunner { class Elasticsearch53NodeClientTest extends AgentTestRunner {
public static final long TIMEOUT = 10000; // 10 seconds public static final long TIMEOUT = 10000 // 10 seconds
@Shared @Shared
Node testNode Node testNode

View File

@ -25,7 +25,7 @@ import org.elasticsearch.transport.client.PreBuiltTransportClient
import spock.lang.Shared import spock.lang.Shared
class Elasticsearch53TransportClientTest extends AgentTestRunner { class Elasticsearch53TransportClientTest extends AgentTestRunner {
public static final long TIMEOUT = 10000; // 10 seconds public static final long TIMEOUT = 10000 // 10 seconds
@Shared @Shared
TransportAddress tcpPublishAddress TransportAddress tcpPublishAddress

View File

@ -31,7 +31,7 @@ import org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilde
import spock.lang.Shared import spock.lang.Shared
class Elasticsearch53SpringTemplateTest extends AgentTestRunner { 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. // 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. // We will just ignore these actions in traces.

View File

@ -19,7 +19,7 @@ import org.elasticsearch.transport.Netty4Plugin
import spock.lang.Shared import spock.lang.Shared
class Elasticsearch6NodeClientTest extends AgentTestRunner { class Elasticsearch6NodeClientTest extends AgentTestRunner {
public static final long TIMEOUT = 10000; // 10 seconds public static final long TIMEOUT = 10000 // 10 seconds
@Shared @Shared
Node testNode Node testNode

View File

@ -24,7 +24,7 @@ import org.elasticsearch.transport.client.PreBuiltTransportClient
import spock.lang.Shared import spock.lang.Shared
class Elasticsearch6TransportClientTest extends AgentTestRunner { class Elasticsearch6TransportClientTest extends AgentTestRunner {
public static final long TIMEOUT = 10000; // 10 seconds public static final long TIMEOUT = 10000 // 10 seconds
@Shared @Shared
TransportAddress tcpPublishAddress TransportAddress tcpPublishAddress

View File

@ -36,7 +36,7 @@ class SecurityConfig {
.antMatchers("/basicsecured/**").authenticated() .antMatchers("/basicsecured/**").authenticated()
.and() .and()
.httpBasic() .httpBasic()
.and().authenticationProvider(applicationContext.getBean(SavingAuthenticationProvider)); .and().authenticationProvider(applicationContext.getBean(SavingAuthenticationProvider))
} }
} }

View File

@ -1,5 +1,5 @@
plugins { 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' id 'com.github.burrunan.s3-build-cache' version '1.1'
} }