codeconsole commented on code in PR #16327: URL: https://github.com/apache/grails-core/pull/16327#discussion_r3973735489
########## grails-gradle/plugins/src/test/resources/test-projects/compiler-config-generated-user-script/build.gradle: ########## @@ -1,42 +1,92 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ import org.gradle.api.DefaultTask import org.gradle.api.file.RegularFileProperty +import org.gradle.api.provider.Property +import org.gradle.api.tasks.Input +import org.gradle.api.tasks.JavaExec import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.TaskAction +import org.gradle.api.tasks.compile.GroovyCompile +import org.gradle.work.DisableCachingByDefault plugins { id 'org.apache.grails.gradle.grails-app' } +grails { + bom = null + cliAutoProvision = false + starImports = ['java.util.concurrent.atomic'] +} + +dependencies { + implementation localGroovy() +} + +@DisableCachingByDefault(because = 'Writing a short compiler script is inexpensive') Review Comment: Restored the original producer-order test and fixture in ea9c585bf4; the execution tests now use a separate fixture. Added build-cache tests for both wiring forms that assert FROM_CACHE after cleaning, execute compilation against the restored script, and verify input changes invalidate the cache. All 275 plugin tests and style checks pass. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
