Skip to content

Commit 748242b

Browse files
committed
Gradle 8.13-rc-2
1 parent fdeb637 commit 748242b

File tree

5 files changed

+8
-49
lines changed

5 files changed

+8
-49
lines changed

gradle/wrapper/gradle-wrapper.jar

122 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=3b3565efd2df2dd999774b6ef8ea571878c5532cbac6dbaaeb4b2731f42e6704
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-rc-1-bin.zip
3+
distributionSha256Sum=264353f17a13391626fc8d0e86ae8023f30ea334a470caae0cfee02fe6cd1f3d
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-rc-2-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -853,52 +853,7 @@ class DependencyLockLauncherSpec extends BaseIntegrationTestKitSpec {
853853
}'''.stripIndent()
854854
new File(projectDir, 'build/global.lock').text == globalLockText
855855
}
856-
857-
def 'uses chosen subproject configurations when creating global lock in multiproject'() {
858-
disableConfigurationCache()
859-
addSubproject('sub1', """\
860-
dependencies {
861-
implementation 'test.example:foo:2.0.0'
862-
}
863-
dependencyLock.configurationNames = ['runtimeElements', 'apiElements', 'implementation']
864-
""".stripIndent())
865-
866-
buildFile << """\
867-
allprojects {
868-
apply plugin: 'com.netflix.nebula.dependency-lock'
869-
group = 'test'
870-
}
871-
subprojects {
872-
apply plugin: 'java'
873-
repositories { maven { url = '${Fixture.repo}' } }
874-
}
875-
876-
dependencyLock {
877-
includeTransitives = true
878-
}
879-
""".stripIndent()
880-
881-
when:
882-
runTasks('generateGlobalLock', '--warning-mode', 'all')
883-
884-
then:
885-
String globalLockText = '''\
886-
{
887-
"_global_": {
888-
"test.example:foo": {
889-
"locked": "2.0.0",
890-
"transitive": [
891-
"test:sub1"
892-
]
893-
},
894-
"test:sub1": {
895-
"project": true
896-
}
897-
}
898-
}'''.stripIndent()
899-
new File(projectDir, 'build/global.lock').text == globalLockText
900-
}
901-
856+
902857
def 'warn the user when configurations for creating global lock in multiproject are no longer resolvable, thus no longer lockable'() {
903858
disableConfigurationCache()
904859
addSubproject('sub1', """\

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ class ResolutionRulesLockabilitySpec extends BaseIntegrationTestKitSpec {
133133
},
134134
"org.apache.commons:commons-lang3": {
135135
"firstLevelTransitive": [
136+
"$moduleName:sub1",
136137
"$moduleName:sub1"
137138
],
138139
"locked": "3.12.0"
@@ -146,6 +147,9 @@ class ResolutionRulesLockabilitySpec extends BaseIntegrationTestKitSpec {
146147
}""".stripIndent()
147148

148149
globalLockFile.text == globalLockText
150+
151+
and:
152+
runTasks("compileJava")
149153
}
150154

151155
def 'project locking works'() {

0 commit comments

Comments
 (0)