Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello,
I'm trying to create custom extension. When I try to build extension using gradle I'm getting below error
> Could not find method compile() for arguments [directory 'twx-lib'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Gradle Version : 7.1.1
Java Version : JDK 11
Could any one help me to solve this issue
Regards,
VR
Solved! Go to Solution.
Hi @Velkumar,
Try using an older Gradle Version prior to 6.9 like 6.9.1, 6.8.3... to see if it resolves the issue.
Hi @Velkumar,
Try using an older Gradle Version prior to 6.9 like 6.9.1, 6.8.3... to see if it resolves the issue.
Maybe verify that the Gradle Java home is pointing to a Java SDK.