سؤال

I'm using the Grails Tool Suite (Eclipse) and for a Grails project I cannot figure out a good way to get Eclipse content assist working for a library (Google Guava) that is a dependency via Gradle. I can add the libraries to the build path after they've been downloaded, but I hope there is something better so that I don't have to start managing jars.

هل كانت مفيدة؟

المحلول 2

Well I made a mistake. I'm not using Gradle I'm using the default engine Aether. And I believe I found the fix, Right Click -> Grails Tools -> Refresh Dependencies.

نصائح أخرى

Have You tried using the Eclipse plugin to generate correct classpath entries?

Add apply plugin: 'eclipse' to Your build file, run gradle eclipse and refresh the project

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top