Hello, I have tried clearing my .gradle cache and I am running out of ideas to get these resources extracted.
Any help is greatly appreciated. Thank you! On Friday, April 1, 2022 at 5:32:37 AM UTC-4 William Jojo wrote: > Hello all, > > Trying to extract template views using getResource and I keep getting the > following: > > > Task :getResource FAILED > > FAILURE: Build failed with an exception. > > * Where: > Script '/opt/workspace/6.4-new/cas-overlay-template/gradle/tasks.gradle' > line: 341 > > * What went wrong: > Execution failed for task ':getResource'. > > Could not get unknown property 'Files' for task ':getResource' of type > org.gradle.api.DefaultTask. > > I have tried: > > ./gradlew getResource -PresourceName=messages > ./gradlew getResource -PresourceName=messages.properties > ./gradlew getResource -PresourceName=footer > ./gradlew getResource -PresourceName=footer.html > and many other resources... > > The offending line in gradle/tasks.gradle is: > > Files.copy(Paths.get(resourceFile), Paths.get(toResourceFile), > StandardCopyOption.REPLACE_EXISTING) > > Any ideas why? > > Thank you! > Bill > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/e5aaf3b1-f374-4924-91ea-f94b3247ff4an%40apereo.org.
