You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
In my project I apply the WAR plugin and have call war.getWebAppDir().
In Gradle 4.10.2 which has kotlin DSL 1.0-rc-6 that call works file.
But in Gradle 5.0-rc-3 which has Kotlin DSL 1.0.3 that call fails with the message Unresolved reference : getWebAppDir
Expected Behavior
Current Behavior
Context
Steps to Reproduce (for bugs)
Your Environment
Build scan URL:
The text was updated successfully, but these errors were encountered:
war now resolves to tasks.war which is the War task, instead of resolving to project.war which is the WarPluginConvention that has this webAppDir property. The War task doesn't.
Thank you for your explanation Paul. That makes sense. I was able to fix the issue and I have been able to migrate and validate all my other build.gradle.kts scripts from 4.10.2 to 5.0-rc-3. Looking forward to the final 5.0 release.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In my project I apply the WAR plugin and have call war.getWebAppDir().
In Gradle 4.10.2 which has kotlin DSL 1.0-rc-6 that call works file.
But in Gradle 5.0-rc-3 which has Kotlin DSL 1.0.3 that call fails with the message Unresolved reference : getWebAppDir
Expected Behavior
Current Behavior
Context
Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: