Skip to content

Commit f1d876c

Browse files
committed
Gradle 8.2-rc-1
1 parent 8ccd104 commit f1d876c

File tree

7 files changed

+25
-38
lines changed

7 files changed

+25
-38
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.gradle.util.GradleVersion
1717

1818
plugins {
19-
id 'com.netflix.nebula.plugin-plugin' version '20.8.0'
19+
id 'com.netflix.nebula.plugin-plugin' version '20.8.1'
2020
id 'com.netflix.nebula.optional-base' version '9.0.0'
2121
id "org.jetbrains.kotlin.jvm" version "1.7.20"
2222
id 'java-gradle-plugin'

gradle.lockfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ com.jcraft:jsch.agentproxy.svnkit-trilead-ssh2:0.0.7=integTestRuntimeClasspath,t
2222
com.jcraft:jsch.agentproxy.usocket-jna:0.0.7=integTestRuntimeClasspath,testRuntimeClasspath
2323
com.jcraft:jsch.agentproxy.usocket-nc:0.0.7=integTestRuntimeClasspath,testRuntimeClasspath
2424
com.jcraft:jzlib:1.1.2=integTestRuntimeClasspath,testRuntimeClasspath
25-
com.netflix.nebula:gradle-contacts-plugin:7.0.0=integTestRuntimeClasspath,testRuntimeClasspath
25+
com.netflix.nebula:gradle-contacts-plugin:7.0.1=integTestRuntimeClasspath,testRuntimeClasspath
2626
com.netflix.nebula:gradle-git-scm-plugin:6.0.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
27-
com.netflix.nebula:gradle-info-plugin:12.0.0=integTestRuntimeClasspath,testRuntimeClasspath
27+
com.netflix.nebula:gradle-info-plugin:12.1.4=integTestRuntimeClasspath,testRuntimeClasspath
2828
com.netflix.nebula:gradle-scm-plugin:7.0.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
2929
com.netflix.nebula:nebula-dependencies-comparison:0.2.1=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
3030
com.netflix.nebula:nebula-gradle-interop:2.1.1=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
31-
com.netflix.nebula:nebula-project-plugin:10.1.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
32-
com.netflix.nebula:nebula-publishing-plugin:19.1.0=integTestRuntimeClasspath,testRuntimeClasspath
31+
com.netflix.nebula:nebula-project-plugin:10.1.4=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
32+
com.netflix.nebula:nebula-publishing-plugin:20.3.0=integTestRuntimeClasspath,testRuntimeClasspath
3333
com.netflix.nebula:nebula-test:10.5.0=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
3434
com.perforce:p4java:2015.2.1365273=integTestRuntimeClasspath,testRuntimeClasspath
3535
com.squareup.moshi:moshi:1.12.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-rc-1-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

src/test/groovy/nebula/plugin/dependencylock/DependencyLockPluginWithCoreSpec.groovy

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
9494
plugins {
9595
id 'com.netflix.nebula.dependency-lock'
9696
id 'java'
97-
id 'com.github.johnrengelman.shadow' version '7.1.0'
97+
id 'com.github.johnrengelman.shadow' version '8.1.1'
9898
}
9999
repositories {
100100
${mavenrepo.mavenRepositoryBlock}
@@ -166,7 +166,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
166166
plugins {
167167
id 'com.netflix.nebula.dependency-lock'
168168
id 'java'
169-
id 'com.github.johnrengelman.shadow' version '7.1.0'
169+
id 'com.github.johnrengelman.shadow' version '8.1.1'
170170
}
171171
repositories {
172172
${mavenrepo.mavenRepositoryBlock}
@@ -537,6 +537,8 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
537537
testRuntimeOnly 'org.scala-lang.modules:scala-xml_2.12:1.1.1'
538538
""".stripIndent()
539539
} else if (languagePlugin == "com.netflix.nebula.clojure") {
540+
//TODO: clojure plugin needs to be refactored to stop using project.convention
541+
System.setProperty('ignoreDeprecations', 'true')
540542
additionalDependencies = """
541543
implementation 'org.clojure:clojure:1.8.0'
542544
""".stripIndent()
@@ -686,7 +688,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
686688
}
687689
}
688690
dependencies {
689-
classpath "gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.6.0"
691+
classpath "com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.14"
690692
}
691693
}
692694
apply plugin: 'test.wrapper-plugin'
@@ -885,7 +887,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
885887
}
886888
}
887889
dependencies {
888-
classpath "com.netflix.nebula:nebula-project-plugin:7.0.9"
890+
classpath "com.netflix.nebula:nebula-project-plugin:10.1.4"
889891
}
890892
}
891893
plugins {
@@ -946,7 +948,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
946948

947949
where:
948950
facet | plugin | setParentSourceSet
949-
'integTest' | 'nebula.integtest' | false
951+
'integTest' | 'com.netflix.nebula.integtest' | false
950952
// 'smokeTest' | 'nebula.facet' | true
951953
// 'examples' | 'nebula.facet' | true
952954
}

src/test/groovy/nebula/plugin/dependencylock/DependencyLockPluginWithCoreVerifierSpec.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ empty=annotationProcessor,testAnnotationProcessor
376376
@Unroll
377377
def 'com.netflix.nebula.clojure: fail when dependency is unresolvable upon update via #lockArg'() {
378378
given:
379+
//TODO: clojure plugin needs to be refactored to stop using project.convention
380+
System.setProperty('ignoreDeprecations', 'true')
379381
createSingleProjectBaseline('com.netflix.nebula.clojure')
380382

381383
when:
@@ -607,7 +609,7 @@ empty=annotationProcessor,testAnnotationProcessor
607609
buildscript {
608610
repositories { maven { url "https://plugins.gradle.org/m2/" } }
609611
dependencies {
610-
classpath "com.netflix.nebula:nebula-clojure-plugin:13.0.0"
612+
classpath "com.netflix.nebula:nebula-clojure-plugin:13.0.1"
611613
}
612614
}
613615
plugins {

src/test/groovy/nebula/plugin/dependencylock/tasks/MigrateToCoreLocksTaskSpec.groovy

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class MigrateToCoreLocksTaskSpec extends AbstractDependencyLockPluginSpec {
566566
}
567567
}
568568
dependencies {
569-
classpath "com.netflix.nebula:nebula-project-plugin:7.0.9"
569+
classpath "com.netflix.nebula:nebula-project-plugin:10.1.4"
570570
}
571571
}
572572
plugins {
@@ -625,9 +625,9 @@ class MigrateToCoreLocksTaskSpec extends AbstractDependencyLockPluginSpec {
625625

626626
where:
627627
facet | plugin | setParentSourceSet
628-
'integTest' | 'nebula.integtest' | false
629-
'smokeTest' | 'nebula.facet' | true
630-
'examples' | 'nebula.facet' | true
628+
'integTest' | 'com.netflix.nebula.integtest' | false
629+
'smokeTest' | 'com.netflix.nebula.facet' | true
630+
'examples' | 'com.netflix.nebula.facet' | true
631631
}
632632

633633
@Unroll
@@ -657,7 +657,7 @@ class MigrateToCoreLocksTaskSpec extends AbstractDependencyLockPluginSpec {
657657
}
658658
}
659659
dependencies {
660-
classpath "com.netflix.nebula:nebula-project-plugin:7.0.9"
660+
classpath "com.netflix.nebula:nebula-project-plugin:10.1.4"
661661
}
662662
}
663663
plugins {
@@ -706,9 +706,9 @@ class MigrateToCoreLocksTaskSpec extends AbstractDependencyLockPluginSpec {
706706

707707
where:
708708
facet | plugin | setParentSourceSet
709-
'integTest' | 'nebula.integtest' | false
710-
'smokeTest' | 'nebula.facet' | true
711-
'examples' | 'nebula.facet' | true
709+
'integTest' | 'com.netflix.nebula.integtest' | false
710+
'smokeTest' | 'com.netflix.nebula.facet' | true
711+
'examples' | 'com.netflix.nebula.facet' | true
712712
}
713713

714714
def 'migration does not lock all configurations by default'() {

src/test/groovy/nebula/plugin/dependencylock/utils/ConfigurationFiltersProjectSpec.groovy

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -194,22 +194,11 @@ class ConfigurationFiltersProjectSpec extends ProjectSpec {
194194
deprecatedConfig
195195
nonDeprecatedConfig
196196
}
197-
198-
if (!GradleVersionUtils.currentGradleVersionIsLessThan("6.0")) {
199-
project.configurations {
200-
deprecatedConfig.deprecateForResolution('nonDeprecatedConfig')
201-
}
202-
}
203-
204197
when:
205198
def hasAResolutionAlternative = ConfigurationFilters.safelyHasAResolutionAlternative(project.configurations.findByName('deprecatedConfig'))
206199

207200
then:
208-
if (!GradleVersionUtils.currentGradleVersionIsLessThan("6.0")) {
209-
assert hasAResolutionAlternative
210-
} else {
211-
assert !hasAResolutionAlternative
212-
}
201+
assert !hasAResolutionAlternative
213202
}
214203

215204
def 'verifies that a configuration does not have resolution alternatives'() {
@@ -219,12 +208,6 @@ class ConfigurationFiltersProjectSpec extends ProjectSpec {
219208
nonDeprecatedConfig
220209
}
221210

222-
if (!GradleVersionUtils.currentGradleVersionIsLessThan("6.0")) {
223-
project.configurations {
224-
deprecatedConfig.deprecateForResolution('nonDeprecatedConfig')
225-
}
226-
}
227-
228211
when:
229212
def hasAResolutionAlternative = ConfigurationFilters.safelyHasAResolutionAlternative(project.configurations.findByName('nonDeprecatedConfig'))
230213

0 commit comments

Comments
 (0)