Skip to content

Commit

Permalink
Gradle 8.11-rc-1
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Oct 18, 2024
1 parent 9f6d39f commit c391c0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-rc-1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ class AlignAndMigrateViaReplacementSpec extends AbstractAlignAndMigrateSpec {
then:
results.output.contains("test.nebula:a:1.0.0 -> $alignedVersion")
results.output.contains("test.nebula:b:$alignedVersion")
results.output.contains("other:e:4.0.0 -> test.nebula:c:1.0.1") // not aligned :/
results.output.contains("other:e:4.0.0 -> test.nebula:c:$alignedVersion")
results.output.contains("belongs to platform aligned-platform")

when:
def dependenciesTasks = ['dependencies', '--configuration', 'compileClasspath']
def resultsForDependencies = runTasks(*dependenciesTasks)

then:
resultsForDependencies.output.contains("other:e:4.0.0 -> test.nebula:c:1.0.1") // not aligned :/
resultsForDependencies.output.contains("other:e:4.0.0 -> test.nebula:c:1.0.3")
}

@Unroll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class AlignRulesPluginInteractionSpec extends AbstractIntegrationTestKitSpec {

@Unroll
def 'alignment interaction with dependency-recommender transitive project dependencies'() {
System.setProperty('ignoreDeprecations', 'true')
def graph = new DependencyGraphBuilder()
.addModule('test.a:a:1.42.2')
.build()
Expand Down Expand Up @@ -186,11 +187,11 @@ class AlignRulesPluginInteractionSpec extends AbstractIntegrationTestKitSpec {
buildscript {
repositories { mavenCentral() }
dependencies {
classpath 'com.netflix.nebula:nebula-dependency-recommender:10.0.1'
classpath 'com.netflix.nebula:nebula-dependency-recommender:12.5.1'
}
}
allprojects {
apply plugin: 'nebula.dependency-recommender'
apply plugin: 'com.netflix.nebula.dependency-recommender'
apply plugin: 'com.netflix.nebula.resolution-rules'
repositories {
Expand Down Expand Up @@ -346,6 +347,7 @@ class AlignRulesPluginInteractionSpec extends AbstractIntegrationTestKitSpec {

@Unroll
def 'transitive aligns with spring dependency management'() {
System.setProperty('ignoreDeprecations', 'true')
def rulesJsonFile = new File(projectDir, 'rules.json')

rulesJsonFile << '''\
Expand Down

0 comments on commit c391c0b

Please sign in to comment.