Hi ,
How can i upgrade org.grails.grails-web & org.grails.grails-gsp for legacy applications . I wanted to upgrate the application from Gradle 3.5 to 7.2?
apply plugin:“org.grails.grails-web”
apply plugin:“org.grails.grails-gsp”
Error I’m getting
Adding a Configuration as a dependency is a confusing behavior which isn’t recommended. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. If you’re interested in inheriting the dependencies from the Configuration you are adding, you should use Configuration#extendsFrom instead. See Configuration - Gradle DSL Version 7.2 for more details.
at build_ah3urt9sao6xsh8vhzzdv6kvd.run(C:\Project\workspace\build.gradle:30)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The Report.enabled property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the required property instead. See Report - Gradle DSL Version 7.2 for more details.
at build_ah3urt9sao6xsh8vhzzdv6kvd.run(C:\Project\workspace\build.gradle:30)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The JavaExec.main property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead. See JavaExec - Gradle DSL Version 7.2 for more details.
at build_ah3urt9sao6xsh8vhzzdv6kvd.run(C:\Project\workspace\build.gradle:30)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractCompile.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the destinationDirectory property instead. Consult the upgrading guide for further information: Upgrading your build from Gradle 7.x to the latest
at build_ah3urt9sao6xsh8vhzzdv6kvd.run(C:\Project\workspace\build.gradle:34)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.archiveName property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveFileName property instead. See AbstractArchiveTask - Gradle DSL Version 7.2 for more details.
at build_ah3urt9sao6xsh8vhzzdv6kvd$_run_closure5.doCall(C:\Project\workspace\build.gradle:132)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.appendix property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveAppendix property instead. See AbstractArchiveTask - Gradle DSL Version 7.2 for more details.
Other Details
dependencies {
classpath “org.grails:grails-gradle-plugin:$grailsVersion”
classpath “gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin:1.1”
classpath “gradle.plugin.com.energizedwork:idea-gradle-plugins:1.4”
classpath “org.grails.plugins:hibernate5:${gormVersion-”.RELEASE"}"
classpath “com.bertramlabs.plugins:asset-pipeline-gradle:4.3.0”
}
apply plugin:“eclipse”
apply plugin:“idea”
apply plugin:“war”
apply plugin:“org.grails.grails-web”
apply plugin:“com.energizedwork.webdriver-binaries”
apply plugin:“com.energizedwork.idea-project-components”
apply plugin:“asset-pipeline”
apply plugin:“org.grails.grails-gsp”