[ https://issues.apache.org/jira/browse/GROOVY-10467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485428#comment-17485428 ]
Eric Milles commented on GROOVY-10467: -------------------------------------- https://github.com/apache/groovy/pull/1680 > Compilation fails with method detected as transient > --------------------------------------------------- > > Key: GROOVY-10467 > URL: https://issues.apache.org/jira/browse/GROOVY-10467 > Project: Groovy > Issue Type: Bug > Components: Compiler > Affects Versions: 4.0.0-beta-2, 4.0.0-rc-1, 4.0.0-rc-2, 4.0.0 > Reporter: Lóránt Pintér > Assignee: Eric Milles > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > *Reproduction steps* > * Check out [https://github.com/gradle/gradle/tree/lptr/groovy-4-bugs] > * Run {{./gradlew :ivy:compileAll}}, it works using 4.0.0-beta-1! > * Change the Groovy version here to `4.0.0-beta-2`: > [https://github.com/gradle/gradle/blob/860e74522dcbf2df635a27f38fef1daa0b093322/build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt#L23] > * Run {{./gradlew :ivy:compileAll}} > It fails with: > {code:java} > :ivy:compileTestFixturesGroovy FAILED > Groovy compilation avoidance is an incubating feature. > Executing Spock 2.0.0-groovy-3.0 with NOT compatible Groovy version > 4.0.0-beta-2 due to set spock.iKnowWhatImDoing.disableGroovyVersionCheck > system property. This is unsupported and may result in weird runtime errors! > > startup failed: > /Users/lptr/Workspace/gradle/gradle-groovy-4/subprojects/ivy/src/testFixtures/groovy/org/gradle/api/publish/ivy/AbstractIvyPublishIntegTest.groovy: > -1: The method 'void expectFiles(java.lang.String[])' has an incorrect > modifier transient. > @ line -1, column -1. > 1 error > {code} > Build scan: > [https://ge.gradle.org/s/phu26h5udswba/console-log?task=:ivy:compileTestFixturesGroovy] -- This message was sent by Atlassian Jira (v8.20.1#820001)