mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
fix(manager/gradle): extend allowed nesting depth for Kotlin objects from 3 to 4 (#22959)
This commit is contained in:
parent
ad025ce959
commit
edb9518bf8
2 changed files with 10 additions and 6 deletions
|
@ -981,8 +981,10 @@ describe('modules/manager/gradle/parser', () => {
|
||||||
const val core = "androidx.test:core:\${Deps.Test.version}"
|
const val core = "androidx.test:core:\${Deps.Test.version}"
|
||||||
|
|
||||||
object Espresso {
|
object Espresso {
|
||||||
private const val version = "3.3.0-rc01"
|
object Release {
|
||||||
const val espressoCore = "androidx.test.espresso:espresso-core:$version"
|
private const val version = "3.3.0-rc01"
|
||||||
|
const val espressoCore = "androidx.test.espresso:espresso-core:$version"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
object Androidx {
|
object Androidx {
|
||||||
|
@ -1003,8 +1005,8 @@ describe('modules/manager/gradle/parser', () => {
|
||||||
key: 'Deps.Test.version',
|
key: 'Deps.Test.version',
|
||||||
value: '1.3.0-rc01',
|
value: '1.3.0-rc01',
|
||||||
},
|
},
|
||||||
'Deps.Test.Espresso.version': {
|
'Deps.Test.Espresso.Release.version': {
|
||||||
key: 'Deps.Test.Espresso.version',
|
key: 'Deps.Test.Espresso.Release.version',
|
||||||
value: '3.3.0-rc01',
|
value: '3.3.0-rc01',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1022,7 +1024,7 @@ describe('modules/manager/gradle/parser', () => {
|
||||||
{
|
{
|
||||||
depName: 'androidx.test.espresso:espresso-core',
|
depName: 'androidx.test.espresso:espresso-core',
|
||||||
currentValue: '3.3.0-rc01',
|
currentValue: '3.3.0-rc01',
|
||||||
groupName: 'Deps.Test.Espresso.version',
|
groupName: 'Deps.Test.Espresso.Release.version',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
depName: 'androidx.test:core-ktx',
|
depName: 'androidx.test:core-ktx',
|
||||||
|
|
|
@ -49,6 +49,8 @@ const qKotlinMultiObjectExpr = (
|
||||||
|
|
||||||
export const qKotlinMultiObjectVarAssignment = qKotlinMultiObjectExpr(
|
export const qKotlinMultiObjectVarAssignment = qKotlinMultiObjectExpr(
|
||||||
qKotlinMultiObjectExpr(
|
qKotlinMultiObjectExpr(
|
||||||
qKotlinMultiObjectExpr(qKotlinSingleObjectVarAssignment)
|
qKotlinMultiObjectExpr(
|
||||||
|
qKotlinMultiObjectExpr(qKotlinSingleObjectVarAssignment)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
).handler(cleanupTempVars);
|
).handler(cleanupTempVars);
|
||||||
|
|
Loading…
Reference in a new issue